I recently got my cache corrupted and whenever i turn on the phone the phone goes into recovery and says -
E : failed to mount cache.
E : failed to mount cache/recovery/last_log.
ETC ETC...
There is an endless argument about this error. i cannot boot into stock roms because of this. i just want to clear dalvik cache now.
Is there any way to do it?
I'm not able to wipe anything in recovery mode.
i can access download mode only.
Using adb
rm - r /data/dalvik-cache
rm - r /cache/dalvik-cache
nokiamodeln91 said:
Using adb
rm - r /data/dalvik-cache
rm - r /cache/dalvik-cache
Click to expand...
Click to collapse
Thanks for your reply.
How can i get into adb ?
In cmd, when i enter 'adb shell' it says ' exec '/system/bin/sh' failed : no such file or directory.
i can see the device connected in adb devices.
how can i proceed ? please help
can you paste a pic? Are you trying to do this in recovery mode? What recovery ?
nokiamodeln91 said:
can you paste a pic? Are you trying to do this in recovery mode? What recovery ?
Click to expand...
Click to collapse
Yeah i can.
My phone is in recovery mode Stock ICS.
here is the screenshot of cmd.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What do i do next?
Try installing a custom kernel with Cwm and then try this.
nokiamodeln91 said:
Try installing a custom kernel with Cwm and then try this.
Click to expand...
Click to collapse
Flash speedmod ics kernel and i can now access adb shell.. what should i do next?
when i enter this 'rm - r /data/dalvik-cache' command it says 'rm' is not recognized as an internal or external command. operable program or batch file.
I'm a noob at this. please direct me.
samsung_saad said:
Flash speedmod ics kernel and i can now access adb shell.. what should i do next?
when i enter this 'rm - r /data/dalvik-cache' command it says 'rm' is not recognized as an internal or external command. operable program or batch file.
I'm a noob at this. please direct me.
Click to expand...
Click to collapse
mistakenly entered a space in "-r" command.
if you get permission denied then run adb as root...
Code:
adb root
rm -r /data/dalvik-cache
rm -r /cache/dalvik-cache
nokiamodeln91 said:
mistakenly entered a space in "-r" command.
if you get permission denied then run adb as root...
Code:
adb root
rm -r /data/dalvik-cache
rm -r /cache/dalvik-cache
Click to expand...
Click to collapse
I get this error
is your data and cache partition mounted? Also first go to task manager and kill adb.exe.
then use the above commands.
nokiamodeln91 said:
is your data and cache partition mounted? Also first go to task manager and kill adb.exe.
then use the above commands.
Click to expand...
Click to collapse
I dont know if my data and cache partition is mounted. how can i test that?
I also killed adb.exe and entered above commands but i got same error.
IN the recovery mode under mounts and storage
nokiamodeln91 said:
IN the recovery mode under mounts and storage
Click to expand...
Click to collapse
On my phone when i go into mounts and storage and select mount /cache it says error mounting /cache.
are you able to format cache ?
nokiamodeln91 said:
are you able to format cache ?
Click to expand...
Click to collapse
No I'm not able to do wipe anything in recovery mode.
Here is the error.
try running this.
e2fsck -f -c –y /dev/block/mmcblk0p7
nokiamodeln91 said:
try running this.
e2fsck -f -c –y /dev/block/mmcblk0p7
Click to expand...
Click to collapse
I get this -
looks problem with the memory block.. my support ends here.. may be you will need re-partition..
- you may try to rerun this after installing a newer recovery like cm10.2 kernel.
nokiamodeln91 said:
looks problem with the memory block.. my support ends here.. may be you will need re-partition..
- you may try to rerun this after installing a newer recovery like cm10.2 kernel.
Click to expand...
Click to collapse
i can see cm10.1 kernel..where can i find 10.2 kernel?
I made it with adb shell. Thank you for the help
Related
I played a little today and did Amon-Ra recovery for our Swift
This enables us
Partition your sd card to swap, ext2, fat32
Backup NAND + ext
Backup BART
Screen
Files update.zip require slightly different syntax for the script updater-script
Files are available http://forum.android.com.pl/f200/
DOWNLOAD
recovery_ra1.7swift.img
what is it swift?
angelsanges said:
what is it swift?
Click to expand...
Click to collapse
codename lg gt540 Optimus
Good job! Thanks man.
Sent from my GT540 using XDA App
How to install?
Is like clockworkmod: rom with fastboot and then fastboot flash recovery recovery_ra1.7swift.img
bluepower said:
How to install?
Is like clockworkmod: rom with fastboot and then fastboot flash recovery recovery_ra1.7swift.img
Click to expand...
Click to collapse
Yes installation by fastboot
Thanks a lot and wonderful job
so is this better than the clockwork recovery?
will this overwrite clockwork recovery if I already have that installed?
and the most important question:
DOES THIS WORK WITH PS3 JAILBREAK? I heard someone did it with this recovery, I want this to happen with the GT540!!!
I had clockwork now i have amon ra, it will overwrite clockwork when you install it
I've been trying to put this info my phone. But I have a problem.
Phone is ruining in fastboot mode, am typing command in cmd am pressing enter, then my PC reboot :/
Does somebody had the same problem?
__________
Written with Tapatalk on GT540
ZduneX25 said:
Phone is ruining in fastboot mode, am typing command in cmd am pressing enter, then my PC reboot :/
__________
Written with Tapatalk on GT540
Click to expand...
Click to collapse
Why you do that?
- Put your phone on fastboot mode
- Link it to the pc and turn on adb command
type:
fastboot flash recovery recovery_ra1.7swift.img
and you're done
I did this... I wrote I did. After ENTER the command my PC doing a reboot by itself, before apply recovery in my phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is it working now? If it doesn't, download this: http://www.mediafire.com/?07qod3dg208mb30
Then, put the amon ra file in that folder.
- Put your phone on fastboot mode
- Link it to the pc and turn on adb command
type:
fastboot flash recovery recovery_ra1.7swift.img
you can try this method too (i use it)
1) copy recovery_ra1.7swift.img to sdcard
2) download/install some terminal into your phone.
3) run terminal and write :
Code:
#su
#flash_image recovery /sdcard/recovery_ra1.7swift.img
(or when it's not working:)
flash_image recovery recovery_ra1.7swift.img ;
flash_image recovery "/sdcard/recovery_ra1.7swift.img"
also you can to it in adb shell(connected into PC):
Code:
#su
#adb shell flash_image recovery /sdcard/recovery_ra1.7swift.img
or
Code:
#su
#adb shell
#flash_image recovery /sdcard/recovery_ra1.7swift.img
Hope this helps. (for me, it helped, because my computer freezes when using "fastboot flash" commands. )
Am reinstalling SDK and will check.
@hani93 thanks for this tut, it can be very helpful for me, cos my PC freezes too :/
ZduneX25 said:
Am reinstalling SDK and will check.
@hani93 thanks for this tut, it can be very helpful for me, cos my PC freezes too :/
Click to expand...
Click to collapse
no problem.
it should work.
(i googeld it for 4-5 days :S)
now i'm always using this method
I don't have to use fastboot with you method I guess, am I right??
ZduneX25 said:
I don't have to use fastboot with you method I guess, am I right??
Click to expand...
Click to collapse
that's right
just copy recovery image to sdcard (root dictionary) , install some terminal app( in market "terminal emulator" ) and enter commands...
and after that.. when you enter it . and terminal says "flashing recovery" ..or something, and then ends(with new command line)..
something that:
Code:
#su
#flash_image recovery /sdcard/recovery_ra1.7swift.img
flashing recovery...
#
make reboot and hold on home+power, and recovery comes up.
No way, so don't I need rom with fastboot to get recovery?? I just flashed my phone about 2 days ago with ROM+Fastboot to get recovery via fastboot (I lost some data - all angry birds saves).
And you are saying that I could use your method on my previous ROM without Fastboot, am I right??
ZduneX25 said:
No way, so don't I need rom with fastboot to get recovery?? I just flashed my phone about 2 days ago with ROM+Fastboot to get recovery via fastboot (I lost some data - all angry birds saves).
And you are saying that I could use your method on my previous ROM without Fastboot, am I right??
Click to expand...
Click to collapse
yeah...
i'm not sure. that it works with rom what's without fastboot..
but. for me it worked xD
A little preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sdcard doesn't get recognized yet but i'm working on that issue
The source is published at GitHub: https://github.com/SeraphimSerapis/Samsung-P7100-Recovery
UPDATE: Pershoot made the final fixes and published his working recovery here: http://droidbasement.com/db-blog
Nice work! That was damn quick!
EDIT: How hard is it to get a decent photo of these things? Impossible, I tell you!
bcmobile said:
EDIT: How hard is it to get a decent photo of these things? Impossible, I tell you!
Click to expand...
Click to collapse
That's part of the spirit
Sent from my Optimus 2X using Tapatalk
hi.
nvm..
seen your github link (i assume the stock kernel).
thx!
good work/progress
pershoot said:
hi.
nvm..
seen your github link (i assume the stock kernel).
thx!
good work/progress
Click to expand...
Click to collapse
thanks a lot yeah - it's the stock boot image i extracted.
only thing i'm not getting to work is the sdcard mounting. data/media gets mounted from the 10.1 recovery as far as i can tell, but i don't get that to work
seraphimserapis said:
thanks a lot yeah - it's the stock boot image i extracted.
only thing i'm not getting to work is the sdcard mounting. data/media gets mounted from the 10.1 recovery as far as i can tell, but i don't get that to work
Click to expand...
Click to collapse
your attempting to mount via EMMC, ext4, on mmcblk0p8?
pershoot said:
hi.
nvm..
seen your github link (i assume the stock kernel).
thx!
good work/progress
Click to expand...
Click to collapse
pershoot said:
your attempting to mount via EMMC, ext4, on mmcblk0p8?
Click to expand...
Click to collapse
Currently I'm trying this via fstab:
/data ext4 /dev/block/mmcblk0p8 length=-16384
/sdcard vfat /data/media
But that doesn't work. Perhaps it's something regarding the length.
As far as I could see the Samsung original recovery from the I/O device doesn't even mount /sdcard/ via fstab.
Perhaps we need to include a skript that does this work on recovery start.
EDIT: Tried fdisk -l to get the right partition to extract the original recovery.img but doesn't seem to be possible for me.
EDIT2: Found a skript that must be called on recovery boot. Need a way to include it..
EDIT3: Made another change to the recovery source - see https://github.com/SeraphimSerapis/Samsung-P7100-Recovery
I continued digging in the 10.1 system dump and found this in the vold file:
#dev_mount sdcard /mnt/sdcard auto /dev/fuse
dev_media_group * /mnt/sdcard/usbStorage/ auto /devices/platform/tegra-ehci.0
Perhaps there is a way to do some kind of this in the recovery.fstab as there is no vold file?
Mounting the sdcard fails currently saying this:
mount: mounting /dev/fuse on /sdcard failed: Block device required
Error mounting /sdcard
i have it mounting in CWM 3.1.01, without issue.
~ # mount /data; mount | grep "/data"; cd /data && cd /data/media && ls
mount /data; mount | grep "/data"; cd /data && cd /data/media && ls
/dev/block/mmcblk0p8 on /data type ext4 (rw,relatime,barrier=1,data=ordered)
Alarms Pictures
Android Playlists
DCIM Podcasts
Download Ringtones
Movies pulse
Music su_busybox_misc-sam_tab_10.1.zip
Notifications sys-backup
some more to do. will upload to git once done.
pershoot said:
i have it mounting in CWM 3.1.01, without issue.
~ # mount /data; mount | grep "/data"; cd /data && cd /data/media && ls
mount /data; mount | grep "/data"; cd /data && cd /data/media && ls
/dev/block/mmcblk0p8 on /data type ext4 (rw,relatime,barrier=1,data=ordered)
Alarms Pictures
Android Playlists
DCIM Podcasts
Download Ringtones
Movies pulse
Music su_busybox_misc-sam_tab_10.1.zip
Notifications sys-backup
Click to expand...
Click to collapse
Great work! We'll have a working recovery soon then
Very nice
Where are you guys at with CM Recovery? What's left to be done?
bcmobile said:
Where are you guys at with CM Recovery? What's left to be done?
Click to expand...
Click to collapse
Nandroid backups need to be fixed to not take up lots of gigs
Everything else is working fine thanks to pershoot
Cool! Nice work guys. Let me know if there is anything I can do
ill rls this today most likely for extended testing. it will be in the IO forums. it will work on the 'v' version as well.
UMS will not work, as of yet.
http://forum.xda-developers.com/showpost.php?p=14020091&postcount=1
please let me know of any issues.
pershoot said:
http://forum.xda-developers.com/showpost.php?p=14020091&postcount=1
please let me know of any issues.
Click to expand...
Click to collapse
I noticed when i try and do a nandroid it gets stuck in a loop. Thats cuz once it gets to backing up the data partition its also includes the recently created system .img, boot.img, recovery.img. and then gets stuck at data.img. This is cuz its backing up itself while it is creating itself.
xavierdylan said:
I noticed when i try and do a nandroid it gets stuck in a loop. Thats cuz once it gets to backing up the data partition its also includes the recently created system .img, boot.img, recovery.img. and then gets stuck at data.img. This is cuz its backing up itself while it is creating itself.
Click to expand...
Click to collapse
pls post logs.
pershoot said:
pls post logs.
Click to expand...
Click to collapse
could you please direct me how i go about that?
xavierdylan said:
could you please direct me how i go about that?
Click to expand...
Click to collapse
/tmp/recovery.log
I just need instructions on installing Clockwork on rooted zv8. The AIO does not work for me. It hangs at starting daemon.
Are you in internet connection mode with debugging enable? I know it sounds like a stupid question but I had a brain fart when doing it and forgot that part... doh!
My USB connection is broken, so here is how I did it using terminal emulator.
1) Download the cwmrecovery.img to your SD. ( I downloaded MT's zip file and then extracted all with root explorer, but you only need the cwmrecovery.img file.)
2) Use root explorer to copy or move it to the /data/local/tmp directory (make sure permissions are set to r/w/exe).
3) Launch terminal emulator and type these commands:
su
mount -orw,remount /dev/block/system /system
mount -orw,remount /dev/block/data /data
dd if=/data/local/tmp/cwmrecovery.img of=/dev/block/mmcblk0p14 bs=4096
rm /data/local/tmp/* 2>/dev/null
4) exit terminal emulator and then reboot.
You can then try the vol down+power button combo upon boot to enter CWM.
Good luck.
Haxcid said:
I just need instructions on installing Clockwork on rooted zv8. The AIO does not work for me. It hangs at starting daemon.
Click to expand...
Click to collapse
Download the zv8recovery.zip in mt's "easiest" thread in Dev. Run the bat and you'll be set.
Cal8192 said:
Download the zv8recovery.zip in mt's "easiest" thread in Dev. Run the bat and you'll be set.
Click to expand...
Click to collapse
Ran it twice, each time it does this...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Then it reboots to a black screen. Clock work never loads. I pull the battery and it reboots normally. It will not reboot to clockwork. It does the same in the screen shot every time I run that batch.
Haxcid said:
Ran it twice, each time it does this...
Then it reboots to a black screen. Clock work never loads. I pull the battery and it reboots normally. It will not reboot to clockwork. It does the same in the screen shot every time I run that batch.
Click to expand...
Click to collapse
It still needs the local.prop for the way I have the bat coded. Put it back in data and rerun, you should be good to go!
Sent from my VS920 4G using Tapatalk 2
mtmichaelson said:
It still needs the local.prop for the way I have the bat coded. Put it back in data and rerun, you should be good to go!
Sent from my VS920 4G using Tapatalk 2
Click to expand...
Click to collapse
Where do I grab the local.prop and how do I put it in? :x
Same issue here as the rest. Getting "Operation not permitted" and permission errors
As I kept my local.prop as local.prop.bak, I renamed it back and restarted the phone, everything appears to have gone through now.
Thanks MT.
brad6360 said:
My USB connection is broken, so here is how I did it using terminal emulator.
1) Download the cwmrecovery.img to your SD. ( I downloaded MT's zip file and then extracted all with root explorer, but you only need the cwmrecovery.img file.)
2) Use root explorer to copy or move it to the /data/local/tmp directory (make sure permissions are set to r/w/exe).
3) Launch terminal emulator and type these commands:
su
mount -orw,remount /dev/block/system /system
mount -orw,remount /dev/block/data /data
dd if=/data/local/tmp/cwmrecovery.img of=/dev/block/mmcblk0p14 bs=4096
rm /data/local/tmp/* 2>/dev/null
4) exit terminal emulator and then reboot.
You can then try the vol down+power button combo upon boot to enter CWM.
Good luck.
Click to expand...
Click to collapse
How do you change the permissions of the /data folder to r/w/exe as you mentioned?
I am having a problem because I don't currently have the Local.prop file and I need to add it to that folder but I am getting a permission denied message.
Plumbert said:
How do you change the permissions of the /data folder to r/w/exe as you mentioned?
I am having a problem because I don't currently have the Local.prop file and I need to add it to that folder but I am getting a permission denied message.
Click to expand...
Click to collapse
I used the paid version of root explorer
Hey Guys,
first off i had this issue once before, but in that case i could restore a cwm backup from sd card and after sometime the problem fixed itself,
this time, i switched to bacon and i wanted to prepare the p880 for my sister to use, i downloaded zaiben, formatted my external sd card and put the rom on it, i rebooted to recovery wiped( i used the clean to install new rom in philz recovery if i remember correctly) everything and flashed the rom and exactly as last time, the flash seems to go way too fast and ofc i cant boot into android. now as i formatted my sd i have no backup to restore to. kdz flashing seems hopeless as well, as none of the tools recognize the phone when i put it in s/w upgrade mode,
for proof: i checked /system with aromafm and found it being empty after flashing a rom, i even tried extracting the rom zip on sd and moving the content from the zip to /system manually but after a recovery reboot, /system was empty again( only empty "bin" folder)
is somebody able to explain me why i have this issue and maybe how to fix it, or upload a clean cwm backup of whatever rom for me to use?
thx
Thanks for the help until now, really.......
In Further investigation i could find out that Roms ARE actually flashing properly, but /system and probably other partitions are not being mounted
At Boot or in recovery(manually mounting works Here) which is why aromafm reports an empty /system, after a manual Mount in either recovery itself of Aroma console i can See /system being filled with Rom files, now i will change the thread title accordingly, and now ASK: can i force /system to be mounted at Boot somehow? Someone pls answer this time
Okay this is ridicoulous.... why am i getting no help AT ALL?, thank you srsly.....
i investigated even further and suspected that something with fstab might be wrong, but fstab file looks fine to me:
Code:
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 rw
if someone bothers to answer: what do you think?
pls help........
bump
please help
What recovery are you using? Are you sure your partitions aren't formatted to F2FS? (which would explain why the (F2FS-) recovery can mount the partitions but the system cannot as it expects an ext4 formatted partition rather than a F2FS formatted one)
i'm using an older version of philz touch (i dont think it has f2fs functionality), as i had weird flickering issues with latest philz,
using cat /proc/mounts shows ext4 for /system and other partitions
~MaX~ said:
i'm using an older version of philz touch (i dont think it has f2fs functionality), as i had weird flickering issues with latest philz,
using cat /proc/mounts shows ext4 for /system and other partitions
Click to expand...
Click to collapse
Did you try to boot another ROM (Slim, nameless, whatever) or using another kernel?
laufersteppenwolf said:
Did you try to boot another ROM (Slim, nameless, whatever) or using another kernel?
Click to expand...
Click to collapse
i tried latest aospa,zaiben, pa 3.99 and iodak kernel (stock or cm according to the kind of rom i tried to boot)
thank you for helping btw, i appreciate it
EDIT: I attached an image of output of cat /proc/mounts (sorry for the size)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
~MaX~ said:
i tried latest aospa,zaiben, pa 3.99 and iodak kernel (stock or cm according to the kind of rom i tried to boot)
thank you for helping btw, i appreciate it
EDIT: I attached an image of output of cat /proc/mounts (sorry for the size)
Click to expand...
Click to collapse
hmm, can you please grab me a kmsg? (from when it is stuck)
laufersteppenwolf said:
hmm, can you please grab me a kmsg? (from when it is stuck)
Click to expand...
Click to collapse
could you give me a quick how to on using adb in recovery from pc? i put the phone in sideload mode and tried "adb shell dmesg" but the output just was "error close" and using the command in aromafm terminal gave me an endless stream of log
(Also currently need to charge the phone a bit)
EDIT: NVM kmesg incoming....
okay next question, how can i dump the output into a file and how do i know where it hangs? time in recovery is not correct anymore(i set it once but after reboot it was wrong again, also in kmesg the time again seems to be different)
does that part help? i think it has to do with boot
~MaX~ said:
does that part help? i think it has to do with boot
Click to expand...
Click to collapse
nah, I need the entire log
here's how you get it:
boot the system until it is stuck
hard reboot into recovery (don't enter sideload)
then run the following commands:
Code:
adb shell cat /proc/last_kmsg > /sdcard/last_kmsg
adb pull /sdcard/last_kmsg C:\whatever\path\you\like\last_kmsg
then post the file via pastie.com or any other online paste site
laufersteppenwolf said:
nah, I need the entire log
here's how you get it:
boot the system until it is stuck
hard reboot into recovery (don't enter sideload)
then run the following commands:
Code:
adb shell cat /proc/last_kmsg > /sdcard/last_kmsg
adb pull /sdcard/last_kmsg C:\whatever\path\you\like\last_kmsg
then post the file via pastie.com or any other online paste site
Click to expand...
Click to collapse
no such file or directory
by hard reboot you mean vol - and hold power without pulling battery after hang?
~MaX~ said:
no such file or directory
by hard reboot you mean vol - and hold power without pulling battery after hang?
Click to expand...
Click to collapse
Yes, I meant that. But no kernel log seems like your boot partition/kernel is messed up... I guess you'll have to find a way to restore your entire phone via LG tools, I can't see any other way around that..
laufersteppenwolf said:
Yes, I meant that. But no kernel log seems like your boot partition/kernel is messed up... I guess you'll have to find a way to restore your entire phone via LG tools, I can't see any other way around that..
Click to expand...
Click to collapse
two last things then: when i hold vol - and then hold power until i reboot, recovery does not start, it tries to boot android again (has always been like that)
and also: all roms except cm official show no bootanimation before hang, cm does
~MaX~ said:
two last things then: when i hold vol - and then hold power until i reboot, recovery does not start, it tries to boot android again (has always been like that)
and also: all roms except cm official show no bootanimation before hang, cm does
Click to expand...
Click to collapse
1) yeah, I know, easiest way to fix that is to simply pull the battery and then boot into recovery
2) if the bootanimation shows up, it means the kernel as well as the ramdisk have booted properly. So in this case, you should be able to grab a last_kmsg as well as a logcat
hi
today I installed that application " LG-Optimus-4XHD-Recovery-v1.0.apk "
I have selected ClockworkMod Custom Recovery.
It showed that Operation is successful.
than i clicked on "Boot Recovery" to restart my Phone in CloclworkMod Custom Recovery.
since then I am getting only Starting animation. (LG LOGO).
nothing happens.
My battery was full when i performed this procedure
any help please
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, thermonuclear war,
* or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if you point
* the finger at me for messing up your device, I will laugh at you.
*/
To do this you'll need a Linux machine with fastboot and adb set up, I'll be using Ubuntu 15.04.
Setup stuff
1. Download and extract GWatchR_lenok_601_MEC23G.zip
2. Download and extract this tool, unless you have something else for boot.img editing.
3. Download and extract this tool
Modify boot.img
1. Open terminal and cd to folder with unpackimg.sh
2. Copy boot.img to the same folder
3. Run ./unpackimg.sh boot.img
4. Open ramdisk/fstab.lenok and edit line with /system info so it'll look like this:
Code:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,discard wait
5. Run ./repackimg.sh and copy new boot image somewhere safe.
Setup partitions on watch
NOTICE: Following steps are very dangerous and might brick your watch forever!
1. Make sure you have MEC23G installed on your watch.
2. Flash GWatchR_lenok_601_MEC23G/twrp-3.0.0.img using fastboot:
Code:
fastboot flash recovery path/to/twrp-3.0.0.img
3. Flash your new boot image:
Code:
fastboot flash boot path/to/newboot.img
4. Reboot your watch into recovery mode
5. Open terminal and type:
Code:
adb shell
cd /sys/devices/virtual/android_usb/android0
(sleep 5 && echo 0 > enable && echo "adb,mass_storage" > functions && echo "/dev/block/mmcblk0" > f_mass_storage/lun/file && echo 1 > enable)&
6. Now open gparted on your PC
7. Go to ~4GB disk's partitions
8. Delete 19th and 20th partitions
9. Create two new ext4 partitions, 19th should be ~384MB now and 20th ~127MB
10. Right click on each of partitions and then choose 'Manage flags' and check 'msftdata'
11. Apply all changes
12. Open Disks
13. Select 19th partition click button with two gears then click 'Edit Partition' and in name filed type system and click 'Change'
14. Select 20th partition click button with two gears then click 'Edit Partition' and in name filed type cache and click 'Change'
15. Now close gparted and disks and eject watch partitions
16. Reconnect watch
17. Open terminal and type:
Code:
mkdir system
mount -o rw -t ext4 /dev/sdb19 ./system
NOTE: /dev/sdb19 might be something else on your device, you can find this path in gparted or disks
18. Now type:
Code:
sudo path/to/unsquashfs -f -d /full/path/to/system /full/path/to/system.squashfs.img
19. Type sync and wait for it to finish
20. Eject watch's partitions and wait till you can unplug it
21. Reboot your watch (adb reboot)
Should boot now
Nice post but not really a good idea playing with partitions
Skin1980 said:
Nice post but not really a good idea playing with partitions
Click to expand...
Click to collapse
Yeap, but I need 6.0.1 with writable system. Just sharing my experience
Will this also work with newer Firmwares like MWD84B or M1D63G?
Darthsternie said:
Will this also work with newer Firmwares like MWD84B or M1D63G?
Click to expand...
Click to collapse
Probably, haven't tried that. You'll need to use differn zip with rom stuff.
suleymanovemil8 said:
Probably, haven't tried that. You'll need to use differn zip with rom stuff.
Click to expand...
Click to collapse
Worked perfectly.I updated my Watch to the latest OTA and then dumped my system and boot with these two commands
dd if=/dev/block/mmcblk0p15 of=/sdcard/boot.img
dd if=/dev/block/mmcblk0p19 of=/sdcard/system.img
and then copied them to my laptop via adb pull and changed the stuff
Curious how OTAs will work now. Probably not or I have to change some stuff.
Darthsternie said:
Worked perfectly.I updated my Watch to the latest OTA and then dumped my system and boot with these two commands
dd if=/dev/block/mmcblk0p15 of=/sdcard/boot.img
dd if=/dev/block/mmcblk0p19 of=/sdcard/system.img
and then copied them to my laptop via adb pull and changed the stuff
Curious how OTAs will work now. Probably not or I have to change some stuff.
Click to expand...
Click to collapse
OTA will probably not work. It needs squashfs but we have ext4. You might try editing update zips.
Can you provide a zip file for having a rom with this filesystem?
Thank you!
If is possible...
I can't delete dev/sdc19 /system filesystem is unknow..
Any help?
Thank you!!
Edit:
I've done M1D63X with linux mint and i've installed also sqashfs-tools
sudo apt-get update && sudo apt-get install squashfs-tools
I messed something up... Yeah...
When I try to flash system in ADB I get "FAILED (remote: partition table doesn't exist)"
Help?
sounds promising. i have an urbane 2. is there anyway, i get this running on it in the same way? its aw2 by now. will have a look at the partitions when i come home and send it here.
do i have to delete cache and system?
why did you delete 19th and 20th????
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://ibb.co/mGLPrqK
my watch partitions in gparted h--ps://pasteboard.co/Jxg7Cje.png
Beats me, it's been like 4 years, mate
suleymanovemil8 said:
Beats me, it's been like 4 years, mate
Click to expand...
Click to collapse
ok. thanks anyway. a lot of nice work in this thread