[Q] Can't open /cache/recovery/log - HTC Pico (Explorer)

Hello at all,
my Pico, doesn't starts anymore. I've installed different Roms and different Recoveries, nothing worked.
Then I've mentioned, everytime I want to install a rom, this text appears:
E:Can't open /cache/recovery/log
E:Can't open /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
No files found.
-- Installing: /sdcard/CM9.zip
E:Can't open /cache/recovery/last_install
E:failed to open last_install: No such file directory
Finding update package...
Opening update package...
Installing update...
Installing boot image...
Install from sdcard complete
Perhaps someone can help me

Your nand burnt.try cute_prince' method.go to cm 10 build 6 thread and read 2367.message
HTC Explorer A310e cihazımdan Tapatalk 2 ile gönderildi

:sigh: burnt nand
http://forum.xda-developers.com/showthread.php?p=38098622
Read sticky threads before you post.

Hey Guys, thanks
but the only recovery procedure I partly understand is the one of Cute prince. But I don't know how I can copy the file to /system/xbin directory using Root Explorer, because i just can go into the recovery and so i think i can't use the Root Explorer. And I also don't know how to set permission as 755
And I resume that the directory /system/xbin is on the phone, am I right?

phoneuser said:
Hey Guys, thanks
but the only recovery procedure I partly understand is the one of Cute prince. But I don't know how I can copy the file to /system/xbin directory using Root Explorer, because i just can go into the recovery and so i think i can't use the Root Explorer. And I also don't know how to set permission as 755
And I resume that the directory /system/xbin is on the phone, am I right?
Click to expand...
Click to collapse
flash twrp recovery and go to twrp recovery/advanced/file manager and copy flash erase system/xbin and permisiion 755

I don't get the installation of the twrp recovery
Code:
~/TWRP$ ./fastboot flash recovery recovery.img && fastboot reboot
bash: ./fastboot: Datei oder Verzeichnis nicht gefunden
"Datei oder Verzeichnis nicht gefunden" means "file or directory not found"
but when i type "ls" in the terminal:
Code:
~/TWRP$ ls
adb fastboot recovery.img
I don't get what the Problem is, my phone also shows "FASTBOOT USB"
PS: I am using Ubuntu 12.04 LTS

i dont know ubuntu.

Code:
uname -r
3.5.0-27-generic

phoneuser said:
I don't get the installation of the twrp recovery
Code:
~/TWRP$ ./fastboot flash recovery recovery.img && fastboot reboot
bash: ./fastboot: Datei oder Verzeichnis nicht gefunden
"Datei oder Verzeichnis nicht gefunden" means "file or directory not found"
but when i type "ls" in the terminal:
Code:
~/TWRP$ ls
adb fastboot recovery.img
I don't get what the Problem is, my phone also shows "FASTBOOT USB"
PS: I am using Ubuntu 12.04 LTS
Click to expand...
Click to collapse
If you have cwm,you can still use file manager called aroma file manager.. it can be used to copy and move files as well as change permissions.
Link is in recommend apps section of the above mentioned thread.
Sent from my HTC Explorer A310e using xda app-developers app
---------- Post added at 12:15 AM ---------- Previous post was at 12:12 AM ----------
The code is
Code:
fastboot flash recovery /sdcard/recovery.img
You need twrp recovery renamed as recovery.img present in /SDcard
Sent from my HTC Explorer A310e using xda app-developers app

Ok, thanks, I copied the file to /system/xbin directory and set permission as 755
but when I have to type the code?
because when I restart and want it to do in fastboot mode the directory file xbin doesn't exist anymore
and when I'm just in the cwm typing in the terminal
Code:
adb shell
it says the command "adb" doesn't exist

phoneuser said:
Ok, thanks, I copied the file to /system/xbin directory and set permission as 755
but when I have to type the code?
because when I restart and want it to do in fastboot mode the directory file xbin doesn't exist anymore
and when I'm just in the cwm typing in the terminal
Code:
adb shell
it says the command "adb" doesn't exist
Click to expand...
Click to collapse
You haven't set up adb.. you will have to set it up or download the files and CD to required directory
Sent from my HTC EXPLORER using xda app-developers app

Red Devil said:
You haven't set up adb.. you will have to set it up or download the files and CD to required directory
Sent from my HTC EXPLORER using xda app-developers app
Click to expand...
Click to collapse
my friend came to the same problom。
should i just format using erase-flash mehtod?
and why the erase-flash should be plced to the path system/xbin/?any other path work?

that is a busybox binary. in order to use it thru adb shell you will have to place it there.

Red Devil said:
that is a busybox binary. in order to use it thru adb shell you will have to place it there.
Click to expand...
Click to collapse
thanks for your reply.
if the nand burn occured at system/xbin.or cannot install rom.zip to the nand burned system partion,what shall we do?
could u correct my noob thought?

phoneuser said:
Ok, thanks, I copied the file to /system/xbin directory and set permission as 755
but when I have to type the code?
because when I restart and want it to do in fastboot mode the directory file xbin doesn't exist anymore
and when I'm just in the cwm typing in the terminal
Code:
adb shell
it says the command "adb" doesn't exist
Click to expand...
Click to collapse
But how you be able to install the recovery in your phone....
can u please help me by telling me the steps

juristokrat said:
flash twrp recovery and go to twrp recovery/advanced/file manager and copy flash erase system/xbin and permisiion 755
Click to expand...
Click to collapse
ok i'm now running team win recover and i'm there ''recovery/advanced/file manager'' from where should i copy those files and where to put them?

mr.skat said:
ok i'm now running team win recover and i'm there ''recovery/advanced/file manager'' from where should i copy those files and where to put them?
Click to expand...
Click to collapse
New method : download this file and flash from recovery ---> http://www.mediafire.com/?y1i771abl1blqsq
HTC Explorer A310e cihazımdan Tapatalk 2 ile gönderildi

Related

Need help

I rooted my cool with one click method and tried to flashed the latest tiamat kernel for SD card capabilities got as far as the and remount step and got to the step where you adb push the kernels system files and it didn't work it said file location doesn't exist now my WiFi doesn't work I'm sorry this is just one big sentence but I need help.
Sent from my PC36100 using XDA Premium App
Do you mean it can't find the files on your computer? Easiest fix is to copy all files in every subdirectory of the ZIP archive into one folder and run the adb commands from there.
My cmd is c:/users/(nam
Sent from my PC36100 using XDA Premium App
E)/ and I put the kernels system files there and adb pushed the file name and location and it still didn't work
Sent from my PC36100 using XDA Premium App
does your cmd window look anything like the attached file?
put single qoutes around your C:\ path like this 'C:\path\to\kernel\file'
When starting to type out a file name in the command prompt, pressing the TAB key will try to fill in the title. It ensures that you've got quotes around everything too if needed.
Like if I wanted to list the C:\Program Files folder, I'd type "dir C:\progr" and hit tab after going that far. It'll fill in what it can. Just keep typing to help it along as you press tab.
I copied and pasted what the instructions said about the kernel my CMD directory isn't c temp its c users (computer name)
Sent from my PC36100 using XDA Premium App
blackroseimmortal09 said:
I copied and pasted what the instructions said about the kernel my CMD directory isn't c temp its c users (computer name)
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
OK, let's try it this way. I packed you all the files of the Tiamat 1.3.1 into an archive that does not create subdirectories. Please follow the steps below:
connect the Xoom
create a directory on C: called "temp"
extract all files from the archive found here to c:\temp\
Start cmd (command prompt)
Simply copy and paste the next steps, line by line:
Code:
cd C:\temp\
adb shell
mkdir /data/media/sdcard2
exit
adb reboot bootloader
(wait until Motorola logo shows)
Code:
fastboot flash boot boot.img
fastboot reboot
(wait for reboot)
Code:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
adb push tun.ko /system/lib/modules/tun.ko
adb push scsi_wait_scan.ko /system/lib/modules/scsi_wait_scan.ko
adb push cifs.ko /system/lib/modules/cifs.ko
adb push vold.fstab /system/etc/vold.fstab
adb reboot
Please let me know if that works for ya!
Never mind root my xoom got updated with the latest tiamat kernel with SD card support thanks anyways
Sent from my PC36100 using XDA Premium App

[Q] Can't Overwrite in System/app

Hello, i have a Sensation with InsertCoin 5.3.0 and i would get the old keyboard, so badneewz writes:
baadnewz said:
download
DROBBOXLINK/HTC_IME.apk
push it to /system/app
reboot
enjoy
Click to expand...
Click to collapse
but when i but the HTC_IME.apk in the /system/app Folder with ES-File-Explorer, the Explorer say's Can't Overwrite the File, i try to Delete the old File but it doesn't work.
How can i fix it?
You have to mount it as RW before you can do that. If ES can't do that, then open a terminal and run:
Code:
mount -o remount,rw /dev/block/mmcblk0p22 /system
Where must mount it? on my pc ?
the Terminal in Windows said, der Command doesn't exist
Nooo, a terminal app on the phone, like this
Probably need to su before the command, thinking about it.
How can i put the app to the allowed apps ?
the Terminal say: mount: you must be root
but the app didn't send a request to SU...
As I said above, type su before the mount command.
Berkelgraf said:
Hello, i have a Sensation with InsertCoin 5.3.0 and i would get the old keyboard, so badneewz writes:
but when i but the HTC_IME.apk in the /system/app Folder with ES-File-Explorer, the Explorer say's Can't Overwrite the File, i try to Delete the old File but it doesn't work.
How can i fix it?
Click to expand...
Click to collapse
You can absolutely use ES file explorer to make system partition r/w
Go to ES -menu soft button-settings-root settings-check both "root explorer" and "mount file system" that will give you r/w for system
Njoy
sent from my blazing fast pyramid through sonic waves
Please delete
Sorry, my englisch ist not so good, but it works thanks very much

[HTC EXPLORER] Flash back to Yannou90's recovery after flashing CWM

The official CWM has problems in mounting SD-EXT, thus, Jaggyrom and other custom roms (except stock) won't work properly and your phone will reboot everytime you install apps. You'll also get a lot of app crashes because Dalvik cache can't move properly. Now here's how to flash back to Yannou90's recovery using only Android Terminal Emulator.
__________
THINGS YOU NEED:
1. Your HTC Explorer must be rooted
2. Flash_image and Recovery (You can download it here on this thread)
3. Root File Explorers (Like Root Explorer and ES File Manager, at play store)
STEPS:
1. Download the zip file, read the readme inside the zip, and extract flash_image and recovery.img to the root of your SD Card
2. Download Root Explorer from play store, you can use ES file explorer if you want a root file explorer for free
3. Using your root explorer, copy flash_image to /system/bin/ but before you do that, make sure you mount /system/bin/ as R/W.
4. After copying flash_image, set flash_image permissions to rwxrwxrwx
5.Download Android Terminal Emulator on Play store
6. Run Terminal Emulator and open up preferences.
7. at the initial command, put this:
export PATH=/system/bin:$path
7. Go back to Terminal and Type su
8. Superuser should prompt. Accept it.
9. If you saw # it means you are running it as root, which is that we really needed. If you saw $ , it's not running as root and do type su again.
10. now type this:
flash_image recovery /sdcard/recovery.img
11. Wait for it and if it's done, boot your phone to recovery.
12. CONGRATULATIONS AND YOU ARE BACK TO YANNOU90's RECOVERY
DOWNLOAD LINK:
Flash_Image and Recovery.zip
mrchezco1995 said:
......
2. Flash_image and Recovery (You can download it here on this thread)
......
Click to expand...
Click to collapse
Sorry, on trying to download the following message shows up.
"The page you have requested does not exist. Please check your spelling and try again."
Can you please re-upload the Flash_image and Recovery.zip ?
Download link 404..
Sent from my HTC desire_HD using xda app-developers app
beegeevee said:
Sorry, on trying to download the following message shows up.
"The page you have requested does not exist. Please check your spelling and try again."
Can you please re-upload the Flash_image and Recovery.zip ?
Click to expand...
Click to collapse
Deivi_Z said:
Download link 404..
Sent from my HTC desire_HD using xda app-developers app
Click to expand...
Click to collapse
Download link fixed. Uploaded it to mediafire instead. Thanks for reminding guys.
permission denied
followed all the steps....still got the "Permission Denied" message
followed all the steps....still got the "Permission Denied" message
Click to expand...
Click to collapse
Check superuser and make sure Terminal is allowed. And type su in all lowercase, not uppercase like SU. That wont work
Sent from my HTC Explorer using XDA
mrchezco1995 said:
The official CWM has problems in mounting SD-EXT, thus, Jaggyrom and other custom roms (except stock) won't work properly and your phone will reboot everytime you install apps. You'll also get a lot of app crashes because Dalvik cache can't move properly. Now here's how to flash back to Yannou90's recovery using only Android Terminal Emulator.
__________
THINGS YOU NEED:
1. Your HTC Explorer must be rooted
2. Flash_image and Recovery (You can download it here on this thread)
3. Root File Explorers (Like Root Explorer and ES File Manager, at play store)
STEPS:
1. Download the zip file, read the readme inside the zip, and extract flash_image and recovery.img to the root of your SD Card
2. Download Root Explorer from play store, you can use ES file explorer if you want a root file explorer for free
3. Using your root explorer, copy flash_image to /system/bin/ but before you do that, make sure you mount /system/bin/ as R/W.
4. After copying flash_image, download Android Terminal Emulator on Play store
5. Run Terminal Emulator and open up preferences.
6. at the initial command, put this:
export PATH=/system/bin:$path
7. Go back to Terminal and Type su
8. Superuser should prompt. Accept it.
9. If you saw # it means you are running it as root, which is that we really needed. If you saw $ , it's not running as root and do type su again.
10. now type this:
flash_image recovery /sdcard/recovery.img
...
After this step what I get is as follows
usage: flash_image partition file.img
sh-3.2#
Click to expand...
Click to collapse
Superuser worked fine on terminal. But also got permission denied on last command in terminal.. should I push it via ADB?
You can simply flash the recovery using fastboot. Download this ZIP: http://forum.xda-developers.com/attachment.php?attachmentid=913094&d=1329843100 (courtesy of jaggyjags), start your phone in fastboot mode (ROM Manager might be able to reboot your phone into this mode, otherwise just turn it off, pull out the battery and replace it, then turn on while holding volume down and choose "FASTBOOT" from the menu that appears), then run "recovery.bat" from inside the ZIP. It's simpler than having to mess with adding files to /system/bin.
FYI, you need to set permissions on flash_image to allow it to be executed. I think typing this in the terminal emulator should work:
Code:
chmod 777 /system/bin/flash_image
(otherwise use your file manager to change the permissions to give read, write and execute permissions to all users i.e. tick all the boxes). This is the missing step from your guide to make it work from terminal emulator.
Also, you don't need multiple apps, you can just use terminal emulator for it all by using the "cp" command e.g. if flash_image is on the root of your SD card, use the following commands:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/flash_image /system/bin/flash_image
then use the chmod command above and then the original command from the first post.
[BTW, if you're wondering, the first command identifies as root, the second remounts /system as RW, the last copies the file]
So the full process for terminal emulator ONLY, would be this:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/flash_image /system/bin/flash_image
chmod 777 /system/bin/flash_image
flash_image recovery /sdcard/recovery.img
{rm /sdcard/flash_image
rm /sdcard/recovery.img}
The commands in the {} are optional and just delete the two files from your SD card. The 2nd and 3rd commands can be excluded if you copy flash_image with a root capable file manager, as can the 4th if you change permissions with the file manager.
(This post ended up being much longer than I originally intended. I was just going to post the first paragraph, but figured I may as well post how to make it work the way the OP described as well - or at least what I think should make it work, I haven't actually tested the full process [I have tested the exact same process with other binaries {viewmem, tcpdump} and it works perfectly. Provided the usage of flash_image as in the OP is correct and works, this method will work])
EDIT: You also shouldn't have to change the initial command, /system/bin is already specified in $PATH. If it wasn't, pretty much nothing on the phone will work.
SifJar said:
You can simply flash the recovery using fastboot. Download this ZIP: http://forum.xda-developers.com/attachment.php?attachmentid=913094&d=1329843100 (courtesy of jaggyjags), start your phone in fastboot mode (ROM Manager might be able to reboot your phone into this mode, otherwise just turn it off, pull out the battery and replace it, then turn on while holding volume down and choose "FASTBOOT" from the menu that appears), then run "recovery.bat" from inside the ZIP. It's simpler than having to mess with adding files to /system/bin.
FYI, you need to set permissions on flash_image to allow it to be executed. I think typing this in the terminal emulator should work:
Code:
chmod 777 /system/bin/flash_image
(otherwise use your file manager to change the permissions to give read, write and execute permissions to all users i.e. tick all the boxes). This is the missing step from your guide to make it work from terminal emulator.
Also, you don't need multiple apps, you can just use terminal emulator for it all by using the "cp" command e.g. if flash_image is on the root of your SD card, use the following commands:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/flash_image /system/bin/flash_image
then use the chmod command above and then the original command from the first post.
So the full process for terminal emulator ONLY, would be this:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/flash_image /system/bin/flash_image
chmod 777 /system/bin/flash_image
flash_image recovery /sdcard/recovery.img
{rm /sdcard/flash_image
rm /sdcard/recovery.img}
The commands in the {} are optional and just delete the two files from your SD card. The 2nd and 3rd commands can be excluded if you copy flash_image with a root capable file manager, as can the 4th if you change permissions with the file manager.
(This post ended up being much longer than I originally intended. I was just going to post the first paragraph, but figured I may as well post how to make it work the way the OP described as well - or at least what I think should make it work, I haven't actually tested the full process [I have tested the exact same process with other binaries {viewmem, tcpdump} and it works perfectly. Provided the usage of flash_image as in the OP is correct and works, this method will work])
EDIT: You also shouldn't have to change the initial command, /system/bin is already specified in $PATH. If it wasn't, pretty much nothing on the phone will work.
Click to expand...
Click to collapse
Thank You. U completed this thread. Decided to use fastboot (faster) instead of terminal emulator way.
SifJar said:
You can simply flash the recovery using fastboot. Download this ZIP: http://forum.xda-developers.com/attachment.php?attachmentid=913094&d=1329843100 (courtesy of jaggyjags), start your phone in fastboot mode (ROM Manager might be able to reboot your phone into this mode, otherwise just turn it off, pull out the battery and replace it, then turn on while holding volume down and choose "FASTBOOT" from the menu that appears), then run "recovery.bat" from inside the ZIP. It's simpler than having to mess with adding files to /system/bin.
FYI, you need to set permissions on flash_image to allow it to be executed. I think typing this in the terminal emulator should work:
Code:
chmod 777 /system/bin/flash_image
(otherwise use your file manager to change the permissions to give read, write and execute permissions to all users i.e. tick all the boxes). This is the missing step from your guide to make it work from terminal emulator.
Also, you don't need multiple apps, you can just use terminal emulator for it all by using the "cp" command e.g. if flash_image is on the root of your SD card, use the following commands:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/flash_image /system/bin/flash_image
then use the chmod command above and then the original command from the first post.
So the full process for terminal emulator ONLY, would be this:
Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/flash_image /system/bin/flash_image
chmod 777 /system/bin/flash_image
flash_image recovery /sdcard/recovery.img
{rm /sdcard/flash_image
rm /sdcard/recovery.img}
The commands in the {} are optional and just delete the two files from your SD card. The 2nd and 3rd commands can be excluded if you copy flash_image with a root capable file manager, as can the 4th if you change permissions with the file manager.
(This post ended up being much longer than I originally intended. I was just going to post the first paragraph, but figured I may as well post how to make it work the way the OP described as well - or at least what I think should make it work, I haven't actually tested the full process [I have tested the exact same process with other binaries {viewmem, tcpdump} and it works perfectly. Provided the usage of flash_image as in the OP is correct and works, this method will work])
EDIT: You also shouldn't have to change the initial command, /system/bin is already specified in $PATH. If it wasn't, pretty much nothing on the phone will work.
Click to expand...
Click to collapse
Mine worked for me on terminal without any problems, but thanks for filling up what I just missrf for others. Hehe
Sent from my HTC Explorer using XDA
mrchezco1995 said:
10. now type this:
flash_image recovery /sdcard/recovery.img
11. Wait for it and if it's done, boot your phone to recovery.
]
Click to expand...
Click to collapse
I did upto this point when I write and enter this string nothing happens it gives me another sh-3.2# to write in. How would I know that the Yannou90 recovery has completed??? I'm stuck
SherazHashmi said:
I did upto this point when I write and enter this string nothing happens it gives me another sh-3.2# to write in. How would I know that the Yannou90 recovery has completed??? I'm stuck
Click to expand...
Click to collapse
Why don't you try step 3 from jaggyjag's rooting tutorial....
Sent from my HTC Explorer A310e using xda app-developers app
My HTC Explorer's recovery was stuck green logo, but what thing that helped to get back my clockword recovery
is just downloading you recovery file and renamed it recovery.img
And...
I used Android SDK tool, and used the below command in command prompt and then I reboot the mobile, and I got back:
fastboot flash recovery recovery.img
Thanks for this valuable thread
SU not found !
after changing the INITIAL COMMAND
i restarted d terminal and now the initial command just gets printed and after that i typed 'su'...d output was 'su not found'..
wats d problem ???
I even tried d fastboot method...dats epic, whenever i try to install any .zip from it dis is wat i see
"Installing update...
Installation aborted."
Plz suggest nythng else other than REFLASHING it...its just that sumthng is restricting it to install :laugh:
hi! I have a question regarding recoveries... i have a recovery by yannou90 installed on my htc explorer, will this recovery work for other roms such as CM9 and CM10? It worked well with JaggyJags rom (3.2.1).. i am wondering if I need to switch to other recovery prior to installing CM roms.. thanks!
iamwin said:
hi! I have a question regarding recoveries... i have a recovery by yannou90 installed on my htc explorer, will this recovery work for other roms such as CM9 and CM10? It worked well with JaggyJags rom (3.2.1).. i am wondering if I need to switch to other recovery prior to installing CM roms.. thanks!
Click to expand...
Click to collapse
Yeah, ll work for all rom installation...
Hit :thumbup: if i helped...
R. SAINT said:
Yeah, ll work for all rom installation...
Hit :thumbup: if i helped...
Click to expand...
Click to collapse
got it man!
the steos for flashing the recovery worked for me but after 2 weeks now it responds to nothing when i try to wipe dalwik cache or perform any other funtion it displays nothing only the green title saying yonnou90 recovery.
Mayank T said:
the steos for flashing the recovery worked for me but after 2 weeks now it responds to nothing when i try to wipe dalwik cache or perform any other funtion it displays nothing only the green title saying yonnou90 recovery.
Click to expand...
Click to collapse
My initial response to such a situation would be start the phone in fastboot mode and then flash the recovery from there. Download the ZIP here: http://forum.xda-developers.com/attachment.php?attachmentid=913094&d=1329843100, extract it and double click "recovery.bat" once the phone is in fastboot mode (start phone holding volume down, select fastboot from menu instead of recovery).
This assumes you're on Windows. If you're on Mac/Linux, find the fastboot binary for your platform and run the following command in a terminal:
Code:
./fastboot flash recovery recovery.img
where recovery.img is taken from the ZIP I linked above.
Alternatively, you could install a more up-to-date recovery such as TWRP or a newer build of CWM (not sure of links for the latest versions of either, but have a look around the forum and you should find them. Also some older builds of CWM had bugs [hence this thread exists], but I think the newer builds work fine on the Explorer; not 100% sure as I still use yannou90's build)

[Q] will need help with instructions

So i got instructions from ganship about how to fix my phone, but he hasn't replied and i need it fixed by tmr because my friend needs his laptop back
So let's say all my adb files are in also
C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Data
my rom: cm-10-20130109-bruce2728-pyramid
is also in the same folder
Ganeship told me to
"imp steps :
you need to push the rom.zip to data partiton
how you do that ?
adb push <name_of_the _rom.zip> /data
so if i were to run that cmd in my postion would it be
C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Data>adb push cm-10-20130109-bruce2728-pyramid.zip /data
after running this command I got
1663 KB/s <155280218 byes in 91.168s>
then he also told me to follow http://forum.xda-developers.com/showpost.php?p=27679108&postcount=4651
so is
adb shell "echo 'boot-recovery ' > /cache/recovery/command"
adb shell "echo '--update_package=ROM_Folder:name_of_ROM.zip' >> /cache/recovery/command"
adb reboot recovery
in my situation,when i punch it in cmd is it
adb shell "echo 'boot-recovery ' > /cache/recovery/command"
adb shell "echo '--update_package=C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Datar:cm-10-20130109-bruce2728-pyramid.zip' >> /cache/recovery/command"
adb reboot recovery
or is it
C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Data>adb shell "echo 'boot-recovery ' > /cache/recovery/command"
C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Data>adb shell "echo '--update_package=C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Data:cm-10-20130109-bruce2728-pyramid.zip' >> /cache/recovery/command"
C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Data>adb reboot recovery
Update 2
So i reboot recovery and ran
adb shell "echo 'boot-recovery ' > /cache/recovery/command"
adb shell "echo '--update_package=C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Datar:cm-10-20130109-bruce2728-pyramid.zip' >> /cache/recovery/command"
adb reboot recovery
and it rebooted and all i got was
Finding update package...
E:unkown volume for path [C:\Users\MosiMan\Desktop\Android_stuff\One_S_All_In-One_Kit\Data:cm-10-20130109-bruce2728-pyramid.zip]
E:Can't mount C:\Users\MosiMan\Desktop\Android_stuff\One_S_All_In-One_Kit\Data:cm-10-20130109-bruce2728-pyramid.zip
Installation aborted.
So I don't know what im doing wrong, like do i need special settings to be on in recovery?
Update 1
i tried running adb shell "echo 'boot-recovery ' > /cache/recovery/command"
and i got
/sbin/sh: can't create /cache/recovery/command: nonexistent directory
oh and do I include those quotations too? and do i run those cmds in my adb folder?
I'm very sorry but i really need to fix this phone by today, last time i tried to do all of this it said error on 4ext, so yeah i need precise instructions for my situation
sorry for the vagueness
here are the proper commands
adb shell "echo 'boot-recovery ' > /cache/recovery/command"
adb shell "echo '--update_package=/data/cm-10-20130109-bruce2728-pyramid.zip' >> /cache/recovery/command"
adb reboot recovery
to simply explain:
first you pushed the cm zip file to /data right? (using adb push command)
you need to link that pushed cm zip ...for the recovery to find it not the one on your desktop (obviously phone recovery wasnt going to fetch the zip file from your PC/laptop )
ganeshp said:
sorry for the vagueness
here are the proper commands
adb shell "echo 'boot-recovery ' > /cache/recovery/command"
adb shell "echo '--update_package=/data/cm-10-20130109-bruce2728-pyramid.zip' >> /cache/recovery/command"
adb reboot recovery
to simply explain:
first you pushed the cm zip file to /data right? (using adb push command)
you need to link that pushed cm zip ...for the recovery to find it not the one on your desktop (obviously phone recovery wasnt going to fetch the zip file from your PC/laptop )
Click to expand...
Click to collapse
intresting...because it said
Finding update package....
Opening update package...
E:Can't open /data/cm-10-20130109-bruce2728-pyramid.zip
(no such file or directory)
Installation aborted.
I guess i'll format all partition and redo part 1
redid the whole thing
same results... but i notice it would show a triangle for less than a second but that's all...could this be because it recovery has no sd card so it says boot in safemoode because that's all i know about
Ohh are you pushing the cm zip file with phone connected from recovery?
Then push the zip file to just "/" (root directory) and make the necessary change in recovery command too (Rom path)
Edit: I forgot to subscribe to this thread. That's why the reply was late sorry
Sent from my HTC Sensation 4G using xda premium
Wait... I'm confused
Sent from my GT-I9300 using xda premium
ganeshp said:
Ohh are you pushing the cm zip file with phone connected from recovery?
Then push the zip file to just "/" (root directory) and make the necessary change in recovery command too (Rom path)
Edit: I forgot to subscribe to this thread. That's why the reply was late sorry
Sent from my HTC Sensation 4G using xda premium
Click to expand...
Click to collapse
are you talking about the very first step? aren't i suppose to push the cm zip when it's in recovery,.... isn't that the only way
so whats the command and when do i do it?
anthonyly said:
are you talking about the very first step? aren't i suppose to push the cm zip when it's in recovery,.... isn't that the only way
so whats the command and when do i do it?
Click to expand...
Click to collapse
Yeah pushing from recovery would do
And you push it to just "/" path not "/data"
Sent from my HTC Sensation 4G using xda premium
ganeshp said:
Yeah pushing from recovery would do
And you push it to just "/" path not "/data"
Sent from my HTC Sensation 4G using xda premium
Click to expand...
Click to collapse
so shall i format when i get the laptop back and do
C:\Users\MosiMan\Desktop\Android stuff\One_S_All-In-One_Kit\Data>adb push cm-10-20130109-bruce2728-pyramid.zip /
and the rest is the same right?
Here are the rest
adb shell "echo 'boot-recovery ' > /cache/recovery/command"
adb shell "echo '--update_package=/cm-10-20130109-bruce2728-pyramid.zip' >> /cache/recovery/command"
adb reboot recovery
Sent from my HTC Sensation 4G using xda premium

[SCRIPT] Recovery & Kernel Management Tool

Hi guys,
I had some free time and decided to write this script specially for Terminal Emulator's users like me.
It's a simple script allows you to:
Backup
Restore backup
Flash
Reboot in any mode
Copy the script to /system/bin
recovery and /or kernel IMG files without the need to input so long codes again and again.
This script will make a new folder named Recovery-Kernel-Tools in your internal storage, including 3 more folders inside it:
Backups (max one backup for each partition, names are "case-sensitive")
Flash (but any recovery.img / boot.img to flash them, names are "case-sensitive")
Input (for future use)
Everything is self explanatory, when you execute this script for the first time, it will ask you to set your partitions, you can change them later at any time.
If it's useful for you and you need more options, feel free to suggest me.
Download link: ReKeTv1
After downloading, cd to installation folder and input:
Code:
su
sh ReKeTv1
If you're using Script Manager, just execute it as root.
Latest busybox is required.
Bassel Bakr said:
Hi guys,
I had some free time and decided to write this script specially for Terminal Emulator's users like me.
It's a simple script allows you to:
Backup
Restore backup
Flash
Reboot in any mode
Copy the script to /system/bin
recovery and /or kernel IMG files without the need to input so long codes again and again.
This script will make a new folder named Recovery-Kernel-Tools in your internal storage, including 3 more folders inside it:
Backups (max one backup for each partition, names are "case-sensitive")
Flash (but any recovery.img / boot.img to flash them, names are "case-sensitive")
Input (for future use)
Everything is self explanatory, when you execute this script for the first time, it will ask you to set your partitions, you can change them later at any time.
If it's useful for you and you need more options, feel free to suggest me.
Download link: ReKeTv1
After downloading, cd to installation folder and input:
Code:
su
sh ReKeTv1
If you're using Script Manager, just execute it as root.
Latest busybox is required.
Click to expand...
Click to collapse
There are three files in it...which 1 to download?
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
There are three files in it...which 1 to download?
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
ReKeTv1
Don't forget to leave some suggestions.
Bassel Bakr said:
ReKeTv1
Don't forget to leave some suggestions.
Click to expand...
Click to collapse
Tried with both terminal emulator and script manager
Got this error
" exec /system/bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
# bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
head: /mnt/sdcard/Recovery-Kernel-Tools/partitions: No such file or directory
tail: can't open '/mnt/sdcard/Recovery-Kernel-Tools/partitions': No such file or directory
tail: no files
Root access denied!
Please issue su command first"
Any solution?
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
Tried with both terminal emulator and script manager
Got this error
" exec /system/bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
# bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
head: /mnt/sdcard/Recovery-Kernel-Tools/partitions: No such file or directory
tail: can't open '/mnt/sdcard/Recovery-Kernel-Tools/partitions': No such file or directory
tail: no files
Root access denied!
Please issue su command first"
Any solution?
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
Run as root
Or in terminal emulator type
su
First
Bassel Bakr said:
Run as root
Or in terminal emulator type
su
First
Click to expand...
Click to collapse
Did both...still the same error
Any solution??
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
Did both...still the same error
Any solution??
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
In terminal emulator:
su
set -x
sh ReKeTv1 2> /sdcard/log1.txt
sh -n ReKeTv1 2> /sdcard/log2.txt
Then upload log1.txt & log2.txt files here.
Bassel Bakr said:
In terminal emulator:
su
set -x
sh ReKeTv1 2> /sdcard/log1.txt
sh -n ReKeTv1 2> /sdcard/log2.txt
Then upload log1.txt & log2.txt files here.
Click to expand...
Click to collapse
"No such file or directory"in both logs
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
"No such file or directory"in both logs
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
After set -x cd to installation directory then complete the code.

Categories

Resources