yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Bhargav97:
HI Phil759,

Sorry for being late.

Today, I was able to get a PC and I got a recovery.log from /tmp.

A very strange thing. These 4 lines are repeated throughout the log.

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on (UTC) Sat Mar 8 12:47:49 2014

This errors continuously goes on repeating and so the log size also goes on increasing.

Seems like recovery cannot even initialize.

Same happens with CWM advanced.

Here is the logfile in my attachment.
[Android Software Development] Phil3759:
It is just showing that recovery is crashing and auto restarted indefinitely.

The posix time warning is not the cause.

Try to disable the settings load one by one or add some LOGI input after that line at different levels in recovery.c

That way you can find your issue cause
[Android Software Development] chraso:
could it be framebuffer?

coz on the older version 6.15.4, while there was no libtouch released, in logcat the next line was framebuffer.

http://pastebin.com/hdgEpuST
[Android Software Development] Phil3759:
Yes, graphics.c in that case

The frame buffer is still there in recovery.c

Try to add a ui_print after it
[Android Software Development] Bhargav97:
Very sorry...I forgot to mention it in code.

This line is also there in this new version recovery.

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on (UTC) Sat Mar 8 12:47:49 2014

framebuffer: fd 4 (240 x 320)

You can see my attached recovery.log.txt in my previous post.

You can see the pasted log also....here:

http://pastebin.com/aSm7138m

Lines are missing from:

CWM Advanced Edition 6
.....

Sorryy again..
[Android Software Development] chraso:
I had also already tried with libtouch=false & only philz_advance=false both.

still blank screen.

and bhargav double sures that its something else.

I also unpack/repack replacing the stitch.png with koush'.

:'(

Edit:

1 more thing I noticed, while booted into recovery the screen dims after sometime and on button press/touch it brightens again.

So I assume brightness is also working?
[Android Software Development] Bhargav97:
This is actually random.

After a few seconds booting into recovery, screen starts to dim and again brightens up in next 0.5 to 1 second and it continues like this until hard reset,
[Android Software Development] ali.filth:
Sure phil..i will give you source device tree..
[Android Software Development] yasirmujtaba:
Please Help Or just indicate what to do.............:crying:
[Android Software Development] Phil3759:
I have hard time to believe you can get it working with stock cwm and not with Advanced version when you disable libtouch_gui.

Maybe it is the parsing of a mis-formatted extra.fstab...

However there is no reason you cannot debug it since you have access to the recovery log in /tmp. You can consider you ate lucky as you do not have to drop to kernel dmesg

Please do the below steps:

- disable libtouch_gui to compile Adanced Edition which is 100% open source

- add LOGI("step 1\n"), LOGI("step 2\n")... and so on in recovery.c boot sequence to find culprit function. It will add log lines so that you know when it fails: missing text print in log

- Once found, add LOGI sequence... to the culprit function to find culprit line

Post your results here.
[Android Software Development] Bhargav97:
Me too. :( :crying:

Thanks...We'll get back to you with the results asap. :)
[Android Software Development] Phil3759:
No need to cry

2 good things:

You get accesd to recovery logs

It is not related to libtouch_gui

Addind debug lines will permit to track the problem for sure
[Android Software Development] Brutal_Master:
When a user says to "wipe the cache" is this the same thing as wiping the "cache partition" in Philz CWM?
[Android Software Development] danarama:
Yes, unless they're referring to individual app.
[Android Software Development] JuampyXnaker:
Hi phil! I have a question!

Can I update my current version without any problems?

Or it necessary will break my current rom?...

Thanks for reading anyway! ;)
[Android Software Development] ali.filth:
Device tree

this is my device & kernel tree :

https://github.com/ali-filth/android_device_samsung_i8262

https://github.com/ali-filth/android_kernel_samsung_i8262

and this is fix recovery, cause the old recovery can't mount data media :

http://d-h.st/Jtz (img only)

http://d-h.st/Hgu (flashable zip)

http://d-h.st/fW5 (odin)

thanks
[Android Software Development] acabreram:
Support for Xperia ZL (odin)

Could you please dev this for Xperia ZL (odin) please?

i could get cwr advanced replacing the ramdisk-recovery.cpio file from boot.img xperia Z(yuga) to my boot.img

but i cant flash a new nightly "error status 7" because in the cwr appers like my device it´s a yuga(xperia ZL) and the nightly it´s for odin(xperia ZL)

so could you please give dev?

thanks to shoey63 that helped me

sorry for my poor english
[Android Software Development] Bhargav97:
One of the causes maybe: recovery.fstab file can be different for both the devices and so mounting may also be incorrect.

If mounting is perfect then, just remove the getprop assert lines in updater-script and you wouldn't get that error.

You should better compile it up specially for your device yourself or ask the devs of your device to do that. Even the full version is in the source now (at GitHub).

Phil3759 is not going to build recoveries for all the devices now because after the release of libtouch_gui, it's like everything is open source. :)

You can do what you want, just give the proper credits.
[Android Software Development] darknessy:
Having issues with philiz touch on E980 LG optimus g pro

Recovery installs but fails during the lokifying part

fail to mmap aboot

6.19.3 and 6.19.6 gives same error
[Android Software Development] acabreram:
ok that´s too bad for me jejeje

because i havent minimal xperience developing, replace a file ok it´s a simple copy, paste and repacking

but well i will try

i´m looking what i need.

thankssss!!
[Android Software Development] Bhargav97:
No development experience needed to compile. Just some guidance needed and you can start from scratch.

Just read some guides at xda-university.
[Android Software Development] JuampyXnaker:
Could anyone answer my question pleeaseee?... :p:fingers-crossed:
[Android Software Development] shoey63:
Recoveries don't "break" roms . Just flash, and if there are issues, reflash the one that works and report your problem.

(with logs)
[Android Software Development] JuampyXnaker:
Thanks!!

I was wondering because I read this...:

CWM/TWRP Recovery

Warning: For GT-i9100 and SGH-i777, installing CWM or TWRP recovery also installs kernel. This is only recommended to install when installing a new custom ROM. Installing CWM/TWRP recovery will most likely break the ROM you are running currently as it overwrites the ROM’s kernel.

Source: http://bitly.com/1egb4xF
[Android Software Development] shoey63:
For those devices a dev has to repack Philz latest together with the kernel you are on
[Android Software Development] JuampyXnaker:
Thanks!..

So... recoveries "don't break roms"?.. xDD :D:D:laugh: hahaha
[Android Software Development] shoey63:
Rom stays intact. As I said before - just reflash whatever worked previously and the rom will work as per normal :D

Edit: And in future, please post non-developmental queries in your device specific thread. Thank you.
[Android Software Development] Bhargav97:
Hi Phil3759,

Added LOGI functions like: LOGI("THIS IS LINE 1092");

And...compiler is giving error:

bootable/recovery/recovery.c:441:1: error: expected declaration specifiers or '...' before '(' token
bootable/recovery/recovery.c:441:1: error: expected declaration specifiers or '...' before string constant

like that...many errors!

What's wrong now?!

EDIT:

Seems like I've got rid of those errors. :)
[Android Software Development] acabreram:
where i found? "recovery.fstab file" and how can edit it?

thanks!
[Android Software Development] JuampyXnaker:
I asked in this forum because I could have had help from Phil and experienced users, I would not be here for other reason
[Android Software Development] Bhargav97:
Hi Phil3759,

We've adde LOGI commands at various places and compiled the recovery but still no output after: framebuffer: fd 4 (240 x 320)

You can check our recovery.c here at pastebin or I've attached it below:

http://pastebin.com/y9rc209m

Do we need to add LOGI at more places?
[Android Software Development] Phil3759:
Why add lines outside your log stop?

You have to add trace logging around error!

From your error log, crash is in ui_init() after gr_init(). If you have put logging in right place you'd have isolated if it ever returns from ui_init()

Your LOGI code should go inside ui_init() after gr_init() call... AND just after ui_init() to be of any use
[Android Software Development] ali.filth:
Do you know why recovery get loop if we go to recovery using command or

third party apps Phil?

Thanks
[Android Software Development] Bhargav97:
Which device do you use?
[Android Software Development] ali.filth:
Samsung galaxy core duos GT-I8262

If I'm go to recovery using combination button..I don't get recovery loop..
[Android Software Development] Bhargav97:
Then it must be a bug (or maybe a feature :P) of Samsung's bootloader that it will force you to go to recovery after a Power Off. You won't then be able to go to Recovery via 'reboot recovery'.
[Android Software Development] ali.filth:
Hi Philz..can you allow me for send you pm..I want to ask 2 questions only..no more..

Thanks.
[Android Software Development] Phil3759:
Does reboot to recovery from recovery menu work?
[Android Software Development] ali.filth:
work..then I'll be back to recovery after reboot system
[Android Software Development] Phil3759:
it is because many phones need to set correct flag on a param partition

It is done using /sbin/postrecoveryboot.sh

It must be properly set in your device tree

For that, try to unpack a stock recovery or boot.img to see what constructor is using
[Android Software Development] ali.filth:
Okay phil I will do that..thank you so much :)

Btw,,when you post this recovery in our group..and update your database on (goo.im) also..??
[Android Software Development] Phil3759:
you can post in your group, open a thread and just post a link here of your thread

I will upload to goo.im from when you post links, or maybe I missed them...
[Android Software Development] mrjoy:
How to scroll as kinetic scrolling with volume buttons? It was working in earlier version but not now, Could someone help me?
[Android Software Development] shoey63:
del.
[Android Software Development] Phil3759:
with hardware buttons, you can only enable key repeat: scroll while key is pressed, stop when lifted

I consider it was a bug when allowed with hardware keys
[Android Software Development] danarama:
Would it be possible to assign "back" as a gesture so no nav bar + no capacitive users can cancel backup please?

Or maybe another way to cancel backup? Press vol down or back to cancel?
[Android Software Development] Phil3759:
it is on my to do list
[Android Software Development] sdeft:
Philz I noticed that adbd does not come on automatically when you boot to recovery unless I mount USB storage (connection to my PC).

Also I had to replace adbd binary for this to work as with the adbd which was inlcuded in the recovery I couldn't perform any adb & usb mounts. Plus I had to force manually the drivers in Windows PC.

My question now is how do I force adbd to come on without having to mount. I looked in the init.rc file but I don't know what to change.
[Android Software Development] rslawson:
Reboot recovery

I am coming from TWRP recovery. I can't locate the reboot recovery option. I read where someone posted reboot recovery was part of the rom however reboot recovery is an option in TWRP not ROM. I have tried locating it in your recovery and can't locate it. I have the note 3 and I need that option to flash some files. Thanks
[Android Software Development] titanic_fanatic:
This is found in power options in the main menu ;)
[Android Software Development] Phil3759:
what device?

Maybe you need to edit vendor id in init.rc

adb is started when needed, that is with an usb cable plugged and an adb command or mount usb storage
[Android Software Development] Phil3759:
6.20.6 (12.03.2014)
[Android Software Development] jasminedd:
Which is the most stable version of this recovery? With 5.15 I had troubles with correct ext sdcard reading... No more passing to twrp but I'd like Philz more...

Thanks :))
[Android Software Development] danarama:
Thanks. Will compile...

Edit> Wow, this is cool:
[Android Software Development] big70tom:
I cannot get this to download. Anyone have any idea?
[Android Software Development] ali.filth:
Nice..will compile..and tested :D
[Android Software Development] danividalg:
URGENT HELP How To Make a Backup from ADB Shell Command Line

Hi all,

I have a urgent question.

First of all thanks to everyone who reply to me and special thanks to Philz for this great recovery :)

Unfortunately I dropped my phone to the floor and broke the screen.

Now I can't see anything and do not respond to touch.

I can change it for a new one on repair but I can't loose all my data and configs.

I want to make a nandroid backup but I can't see anything in the screen.

Perhaps someone could tell me how can I lauch the script for a full nandroid backup from the adb shell command line.

Or perhaps someone could guide me using the up/down volume buttons and the home or power buttons, but this is less reliable because options can change in quantity or order. I have a Galaxy S3 with recovery philz_touch_6.00.8-i9300

I will be very grateful to anyone who can help me.

Thanks in advance and best regards :)
[Android Software Development] danarama:
It would be better to adb backup I would expect.
[Android Software Development] sdeft:
device is sony xperia sp

My vendor id is 18D1. How is this related to adbd startup though ?
[Android Software Development] danividalg:
adb backup?

What is this?

How can I do it?

Thanks.
[Android Software Development] danarama:
Its an option in adb:

http://xdaforums.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
[Android Software Development] danividalg:
I have searched about "adb backup" and found about the adb backup command but this can not work for me because when I use the command it is supposed that a confirmation screen is opened and I have to "click" on something like a "permit backup" button, but I have my screen broken so I can not see anything (all is black) and touch do not work either.

What I only can do is to connect via adb (in normal and in recovery mode) and reboot in recovery or download mode.

I need to run the backup script to external sd via adb command as if I was in recovery and "click" on the backup to external sd option in recovery.

Or perhaps with a windows utility that can do a nandroid backup...

Is there any utility or something that can do a nandroid backup from adb or from download mode?

Thanks and best regards :)

---------- Post added at 11:32 AM ---------- Previous post was at 11:30 AM ----------

Yes, I have found it googling

I have searched about "adb backup" and found about the adb backup command but this can not work for me because when I use the command it is supposed that a confirmation screen is opened and I have to "click" on something like a "permit backup" button, but I have my screen broken so I can not see anything (all is black) and touch do not work either.

What I only can do is to connect via adb (in normal and in recovery mode) and reboot in recovery or download mode.

I need to run the backup script to external sd via adb command as if I was in recovery and "click" on the backup to external sd option in recovery.

Or perhaps with a windows utility that can do a nandroid backup...

Is there any utility or something that can do a nandroid backup from adb or from download mode?

Thanks and best regards
[Android Software Development] danarama:
Boot into recovery and run adb. Nothing needs to be done on screen. Read the link I gave you. It's all command line.

All basic stuff and completely off topic for this thread. Suggest you make a thread in S3 q&a if you need more help.
[Android Software Development] obayda.bd:
Can't find v6.20.6 for i9300.
[Android Software Development] danarama:
I cant find a post that states there is 6.20.6 for i9300!

Not every device gets every update,. Keep an eye on your i9300 thread.
[Android Software Development] danividalg:
Do not work, it only creates a backup file of 0 bytes

I will ask on Q&A, thanks :)
[Android Software Development] danarama:
One last thing before you go...

You can just adb pull /data/*
[Android Software Development] JustinXu:
PhilZ Touch 6.20.6 for LG Optimus G Sprint (ls970)

philz_touch_6.20.6-ls970.zip

build with cm sources and it's tested.
[Android Software Development] shoey63:
[MENTION=4666971]Phil3759[/MENTION]

I made a CM11 boot.img for Xperia ZL (Poor cousin of Xperia Z :p ) with 6.20.6 Philz recovery.

No thread for it yet so I'm posting it here. [URL=*******

Edit: Waiting for a tester to report back. Will let you know how it goes:)
[Android Software Development] danividalg:
There is nothing in /data/, I suppose that is because is not mounted by default

And in System there is only a bin folder, I suppose that is not mounted by default either

I have an automatic backup with titanium scheduled for next Sunday at 02:00

I have tried from adb shell to change date and time but got an error, gloogled it without solution

Command:

date -s 201403160150

Output:

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

date: can't set date: Unknown error -38

Sun Mar 16 01:50:00 GMT 2014

Any idea?

I have posted it on S3 Q&A, anyone who want to help me please continue here to not continue filling this topic with this offtopic question.

Thanks and best regards. :)
[Android Software Development] S. Prime:
Download Mark Skippen's Universal Toolkit for the S3 and you can create a backup of your phone or pull or push files. It could be what you need. I believe it is skipsoft.net.
[Android Software Development] shoey63:
Please take this discussion elsewhere. Broken screens and adb lessons have no place here.
[Android Software Development] danarama:
This is what "mount /data" command is for.
[Android Software Development] danividalg:
I have tried it before, no luck.

Inside backup options first option (backup all) seems that use "adb backup" command that does not work. And nandroid backup options are disabled (there is a message "disabled, boot to custom recovery to backup system")

Please continue on http://xdaforums.com/galaxy-s3/help/urgent-help-how-to-make-nandroid-backup-t2680249/post51051702

Thanks and best regards :)

---------- Post added at 02:13 PM ---------- Previous post was at 02:10 PM ----------

Thanks! :D
[Android Software Development] ketut.kumajaya:
[MENTION=4666971]Phil3759[/MENTION] As you already know, I repack your great recovery for dual boot purpose on Galaxy Tab 2 and 3 8.0 but I have extend it further in source level. In your free time, please check https://github.com/kumajaya/philz_touch_cwm6/commits/cm-11.0 . Also attached binary level patcher for Galaxy Tab 3 8.0, for you and/or another user reference :good:

Features:

1. Disable nandroid restore reformat /system and /cache for ext4 to f2fs migration

2. User selectable ext4 and f2fs device format for ext4 to f2fs migration

3. Nice looking Aroma dual boot menu in /res/misc, thanks [MENTION=402300]amarullz[/MENTION]

4. Merge Aroma dual boot tool in /res/misc

5. Using Chainfire's mount/umount script trick and thanks for your blkid trick ;)

6. etc

As always, big thanks for your hard work.
[Android Software Development] Slim2none4u:
Is this coming for the d2usc as well?
[Android Software Development] Phil3759:
What does the binary patcher do? All what you mentioned?

That's amazing

Is it recovery.img version specific?

But, I'd better let you take hands on it and release in your threads a full compiled version rather than a binary patcher!

Will look at your git
[Android Software Development] Phil3759:
ZTE - maintained by [MENTION=5635553]cooldudezach[/MENTION]

Also added to OP / uploaded to goo:

- shoey63 builds

- Samsung Galaxy Core - GT-I8262 (arubaslim) - by [MENTION=4827383]ali.filth[/MENTION]

- ls970 by [MENTION=5109604]JustinXu[/MENTION]

If I forgot someone, feel free to remind me please
[Android Software Development] ketut.kumajaya:
It's device specific patcher for dual boot. I'll try to merge it to my device source tree as [MENTION=5153662]Android-Andi[/MENTION] already did.
[Android Software Development] Phil3759:
6.21.2 (14.03.2014)
[Android Software Development] slthree:
If you guys like a tough challenge then I may have one for you because I'm screwed right now

I have a Sprint Galaxy Note 2

I was on Synergy ROM

I wanted KitKat

I tried to Flash Omnirom for weeks with no success using TWRP

I read that the best recovery was Philz so I downloaded and flashed it

From Philz recovery I again tried to flash OmniRom with

gapps and failed again

I did not do a specific Philz backup as I already had one with TWRP (perhaps my big mistake)

Now, I can't restore my TWRP backup

I cant get to TWRP recovery

I cant boot my phone at all

Please, I'm hoping for a miracle here

Can anyone direct me?
[Android Software Development] Bushido76:
Hey Phil,

thank you for you response. And sorry for puzzling sd-ext and ext-sd... ;)

In contrary to my regular backup behaviour ;) I tried to backup the sd-ext partition with the 3,5 GB linux img-file on it. After restoring the whole partition I realized, that the ubuntu.img file shrunk to araound 650 MB and linux was not executable anymore. Is this normal behaviour of backup and restore?

Thanks in advance for answering my question,

Bushido
[Android Software Development] Phil3759:
sd-ext backup is not a raw backup, but a file system backup

Backing up a whole OS usually needs a raw backup. Maybe that's your issue

Backing up sd-ext in all recoveries is meant for data, not a whole OS. That's outside recovery purpose
[Android Software Development] Damien White:
This is the Bomb!

Looked at the Changelog, my bad sorry dude. BTW - TYVM for all your work, this is the bomb!
[Android Software Development] tampaboy1984:
Could we get support for Verizon Droid Razr xt912
[Android Software Development] Phil3759:
5.06.6 (13.06.2013)

i9505 international updated
[Android Software Development] JustDrado:
Could you make this Work on Samsung Galaxy S2 Epic 4G Touch ? I love the way this looks and is ... Just wish it worked or was able to be put on my phone .
[Android Software Development] Phil3759:
- Galaxy S4 - T-Mobile (jfltetmo)

- Galaxy S4 - Verizon (jfltevzw)

- Galaxy S4 - AT&T (jflteatt)

- Galaxy S4 - Sprint (jfltespr)

- Galaxy S4 - Canada/Bell (jfltecan)

- Galaxy S4 - Cricket (jfltecri)

- Galaxy S4 - US Cellular (jflteusc)
[Android Software Development] dlsolo:
Good afternoon Phil3759,

Just wanted to let you know, that I've been using the n7105 version of your recovery on my Verizon SGN2 for well over 6 months now, with no issues.

The best, hands down, recovery I've come across. Thanks for your hard work, support, and dedication!
[Android Software Development] neo4ever:
Your recovery is awesome. Thanks for it!
[Android Software Development] ibukimasta:
tried verizon recovery but it doesn't work when u reboot it says System software not authorized by Verizon Wireless has been found on your phone. Please turn off your phone and go to the nearest Verizon Wireless store for help. then i have to reflash stock to get everything running again.