yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] badpanda:
Thank you very much! I feel so much better now. :o

---------- Post added at 10:40 AM ---------- Previous post was at 10:05 AM ----------

on your website I tried to download for gsm, it hangs at 99% I tried 5 times same problem. Sorry.. :)
[Samsung Galaxy Nexus] Savant:
I have the img if you push through terminal https://www.box.com/shared/149cbec1192bc3fa49e2
[Samsung Galaxy Nexus] badpanda:
I just gave you a THANKS.. it worked.
[Samsung Galaxy Nexus] Savant:
You're welcome it will be up there until gooim problem is gone.
[Samsung Galaxy Nexus] creeve4:
Is it just me or are we unable to access the phone from a PC when in recovery?
[Samsung Galaxy Nexus] codesplice:
The MTP interface may not be available, but you can always use adb. I just used that to push a new experimental aokp kang over onto my device while in recovery.
[Samsung Galaxy Nexus] Savant:
I mount my (sd )phone in recovery if I mess up or if something happens.
[Samsung Galaxy Nexus] kong:
TWRP doesn't format /system like it said on the screen. I was on CM10 and restored stock MIUI without wiping /system and /data.... The resulted ROM is MIUI with CM10 launcher, Apollo, SuperSU, CWM, etc. :confused:
[Samsung Galaxy Nexus] kobik77:
Shouldn't the ROM installation script take care of that by it self?

I never format my system partition and have never encountered such an issue.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] kong:
ROM installation script has nothing to do with it. I RESTORED from the backup, not installed from the zip. And the info in the console said it was formatting /system and /data, /cache whatsoever while in fact it didn't :eek:
[Samsung Galaxy Nexus] kobik77:
Sorry, but it doesn't make sense that TWRP or any recovery would wipe system partition on its own w/o a user request.

How would the recovery recognize that you aren't flashing zip file which contains ROM so it won't wipe the system partition?

Look for example in this script snippet of Jellybro ROM and pay a close attention to the 3rd line from the bottom. You can see that it does format system partition before extracting the zip's content to it

assert(getprop("ro.product.device") == "maguro" || getprop("ro.build.product") == "maguro");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/system");
package_extract_dir("system", "/system");

Any message of wiping anything you have seen is probably printed by installation script of the ROM you've installed.
[Samsung Galaxy Nexus] Dees_Troy:
This ^

TWRP only wipes system if you wipe it in the wipe menu or during a restore before restoring the files. However a rom zip usually wipes system during its install.
[Samsung Galaxy Nexus] kong:
And I was trying to report that it doesn't do what you said. I didn't say anything about a ROM zip, dunno where that assumption came from :eek:
[Samsung Galaxy Nexus] daggerxXxsin:
same here

i also experienced the same thing when restoring a previous back up. i was surprised to see some of the system apps i had on one rom after restoring an entirely different rom. the system partition was not wiped when restoring, only sort of overwritten. :eek:
[Samsung Galaxy Nexus] Dees_Troy:
Pull a log and paste it. I have 2 GNexes and I use them a lot for TWRP development and I've never seen this problem myself.
[Samsung Galaxy Nexus] kong:
You can just try it yourself

- flash MIUI

- create a backup using TWRP

- wipe everything and flash CM10

- restore MIUI from the backup (without manually wiping)

You'll get CM10 apps in MIUI
[Samsung Galaxy Nexus] :
Many thanks for this recovery! I must say it's great to be able to mount the encrypted partition finally! That was getting very annoying lol
[Samsung Galaxy Nexus] kyokeun1234:
If I backup only my apps and data, and switched Rom, can I restore the backup to restore only the apps and its data? Thanks

Swyped on my Galaxy Nexus running AOKP nightly with Franco Kernel, overclocked to 1.4GHz
[Samsung Galaxy Nexus] codesplice:
You technically can though it isn't really a good idea. You'd be better off using Titanium Backup.
[Samsung Galaxy Nexus] kyokeun1234:
Ok thanks. That's all I need :)

Swyped on my Galaxy Nexus running AOKP nightly with Franco Kernel, overclocked to 1.4GHz
[Samsung Galaxy Nexus] yellowdie:
Hey guys, what does chmod and chmod 755 do? TWRP's website barely mentions it, and the Googles are of no assistance. When I hit chmod, it asks for new permissions and defaults to 0000. So I'm gonna assume it a file permission thingy... But does anyone have actual details or know where I can get a faq/guide? :fingers-crossed:
[Samsung Galaxy Nexus] efrant:
chmod stands for "change mode" (i.e., change permissions). It is octal-based.

The last digit is the permissions for other users, the second last digit is the permissions for the group, and the third last digit is the permissions for the owner. (The first digit sets the user id and group id. Don't worry about those for now.)

The numbers correspond to:

7 = rwx (read, write and execute)

6 = rw- (read and write)

5 = r-x (read and execute)

4 = r-- (read only)

3 = -wx (write and execute)

2 = -w- (write only)

1 = --x (execute only)

0 = --- (none)
[Samsung Galaxy Nexus] codesplice:
You can also break it down to just three values to remember:

1 (binary 0001) = execute only

2 (binary 0010) = write only

4 (binary 0100) = read only

Any combinations are made by simply adding these three values as needed.
[Samsung Galaxy Nexus] yellowdie:
Ah! Okay, cool. So I assume chmod 755 sets it to 0755. Thanks so much for the info (Thanks has been given!)! So does that mean rwx/r-x/r-x would be considered normal or the standard? Would there be any reason not to do 0777?

For reference sake, I was looking into this with an init.d file I was playing with. It works fine with one kernel and not another, so I was trouble shooting why that is. After flashing the package (and going into a bootloop), the file has permissions 0000. I'll try reflashing and setting it to 0777 or 0755 (worst case, I always have nandroids. :P ).
[Samsung Galaxy Nexus] codesplice:
For most executables (at least within the Android environment) 755 is probably the most common/compatible permission set to use. You wouldn't want to use 0777 across the board as then other users (applications, in the Android environment) would have write access to change the contents of an executable.
[Samsung Galaxy Nexus] efrant:
As a general rule, you should attribute the lowest permissions that you can. No need to give users additional permissions when not needed.

I could be mistaken, but all you should need for init.d is 750
[Samsung Galaxy Nexus] dw9906:
You guys are both right. If you restore a backup it says it wipes system, but it definitely doesn't. Which is not a huge deal because you should wipe manually before restoring anyways.
[Samsung Galaxy Nexus] yellowdie:
You guys rock. Thanks for the help.
[Samsung Galaxy Nexus] renaud:
The lowest permission you can set for scripts in init.d is 0500 but that is maybe too extreme for some people. :)
[Samsung Galaxy Nexus] yellowdie:
With init.d, I know what I'm putting in and I know it's not gonna jack other things (except what I want it to), so I'm more inclined to lean the opposite way and give it more than enough permissions just to eliminate as many hiccups as possible. But I think that's me being overkill (and not exactly knowing what I'm doing--but that's never stopped me from doing it anyways!!) =D
[Samsung Galaxy Nexus] key3thermal:
can i use the goomanager method to flash this recovery over CWM recovery on the GSM galaxy nexus?
[Samsung Galaxy Nexus] nawoa:
I see that the Nexus 7 version has USB-OTG support. Is this coming soon? It would help to mitigate the nightmare of a phone without an SD card. Could've saved me about 5 hours earlier today when I flashed a bad boot animation, causing my phone to bootloop. No ROM to flash on the internal storage and I didn't make a ROM backup beforehand since seriously, what are the odds that a boot animation could wreck my phone?

Eventually I figured out how to use ODIN to flash just the system partition but not before I'd accidentally wiped out the file system by making a typo in fastboot.
[Samsung Galaxy Nexus] kobik77:
FYI, you could also pushed a ROM using adb push command.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] nawoa:
Not if I'm stuck at the bootloader. Unless you're saying ADB works in TWRP?
[Samsung Galaxy Nexus] efrant:
That's exactly what he's saying...
[Samsung Galaxy Nexus] codesplice:
Yes, it does.

Also, this is why I prefer to just use TWRP's file manager to drop bootanimation.zip into /data/local ;)
[Samsung Galaxy Nexus] nawoa:
Ah, cool. Would've been nice if I'd known that...

So any hope for USB-OTG making its way to GN?
[Samsung Galaxy Nexus] Dees_Troy:
Updated to 2.2.2.0 now with USB OTG support!
[Samsung Galaxy Nexus] Neejay:
Nice!

I/Someone should make a front-end app for TWRP :(

I think I'll look into it...granted I don't know the first thing about android developing, but I guess this would be a good starting app, or would it be too advanced?
[Samsung Galaxy Nexus] Dees_Troy:
GooManager makes for a pretty decent front-end app for TWRP, but you are welcome to develop your own app if you like.
[Samsung Galaxy Nexus] original21:
Does this mean that we can now mount usb while in recovery?
[Samsung Galaxy Nexus] mbh87:
it means it will see your usb stick if you have a OTG cable plugged in.
[Samsung Galaxy Nexus] Guto ViP:
But GooManager dont have auto TWRP update, right?
[Samsung Galaxy Nexus] DynaMight:
Menu>Install OpenRecoveryScript>Boom.
[Samsung Galaxy Nexus] dw9906:
Just when i thought it couldn't get any better. Nice addition. Maybe I'll finally make use of one of my thumb drives just laying around.
[Samsung Galaxy Nexus] Guto ViP:
I know, but i mean auto, not manual verification... :)
[Samsung Galaxy Nexus] CADude:
My Goo Manager is stuck on "Looking for recoveries" when running OpenRecoveryScript recovery download.

Can't install it from there yet I guess.
[Samsung Galaxy Nexus] aamadorj:
Goo.im site was down until a couple minutes ago. You should try again now.
[Samsung Galaxy Nexus] CADude:
You're right. It works now. Installed. Thanks.
[Samsung Galaxy Nexus] creeve4:
No adb access in TWRP?

adb devices shows no devices. adb PC drivers function fine when phone is booted and in fastboot mode.
[Samsung Galaxy Nexus] codesplice:
I've used adb access in TWRP many times. Not sure what to tell you to help, but it does work.
[Samsung Galaxy Nexus] creeve4:
It appears that it takes ~30 seconds to 1 minute after recovery boots before adb recognizes my phone... strange.
[Samsung Galaxy Nexus] nawoa:
If you haven't heard, some USB ports work better for ADB than others, it's best to go with on directly on your motherboard. ADB won't work with my USB3 ports or through a hub, for example. So try with a direct port and it might detect faster.

------

OP says FAT and EXT4 are supported with USB-OTG. Does this mean to include FAT32 or strictly just FAT? Thanks for implementing it by the way, it makes lacking an SD slot less crippling in emergencies.
[Samsung Galaxy Nexus] creeve4:
Thanks, already got a direct to motherboard connection.

adb detection when phone is booted to Android and USB cable is connected is instant.
[Samsung Galaxy Nexus] Dees_Troy:
FAT and FAT32 should work but not exFAT. You're welcome to experiment with other file systems. EXT2 and 3 should also work, but why bother? I doubt NTFS will work though. Even if it mounts, the driver will probably force it to read-only. But I'm only guaranteeing EXT4 and FAT/FAT32. How's that?
[Samsung Galaxy Nexus] track909:
There is a serious problem for me:

with CWM Recovery I have the possibility to install vrtheme mods in "theme.zip" file.

The same file is correctly installed with TWRP but the changes are not applied.

Why?

There is a solution for this problem?
[Samsung Galaxy Nexus] mbh87:
TWRP can't handle VR Themes as you already found out.
[Samsung Galaxy Nexus] track909:
But this function can be implemented?
[Samsung Galaxy Nexus] beekay201:
ext4 support is already awesome. Thanks a million!

p.s.: maybe btrfs, in the future? ;)
[Samsung Galaxy Nexus] provolinoo:
any flashable zip version? :(
[Samsung Galaxy Nexus] Vangelis13:
Install goo manager from the play store and follow the instructions found in the first post.
[Samsung Galaxy Nexus] ingbrzy:
Here U go....
[Samsung Galaxy Nexus] sam razzy:
Is this recovery as super speed back up like from the new cwm recovery ?

sent from jElly Belly NeXus PrimE
[Samsung Galaxy Nexus] kyokeun1234:
I came from the latest cwm and the speed difference between these two aren't that significant, but I find twrp to be a little bit faster
[Samsung Galaxy Nexus] Pjodor:
Installed it just now, gonna try it, look good.
[Samsung Galaxy Nexus] igor_999:
Has anyone managed to get the OTG feature to work? I've tried fat, ext3 and ext4 with no success, TWRP just won't let me select or mount the external drive. :confused:

My OTG adapter should be okay as I can mount both fat and fat32 formated thumb drives from my Rom (cm10).
[Samsung Galaxy Nexus] Dees_Troy:
Make sure that you have the drive plugged in before you boot TWRP. If you still can't get it to work, use the terminal command option under advanced and run this command:

ls /dev/block

Then copy the log (also under advanced) and paste the log to a paste site and paste the link here.
[Samsung Galaxy Nexus] igor_999:
Hello Dees, here is the link to my log. Let me know if you need something else.

http://db.tt/60ZfZwhD
[Samsung Galaxy Nexus] Dees_Troy:
Try doing the same thing but attach the USB OTG drive after TWRP finishes booting.
[Samsung Galaxy Nexus] original21:
Hi, i tried to flash a theme (see attached), using TWRP and even thought it showed that it was successfully flashed, nothing changed after reboot. Is this a bug?

P.S. This file works fine with CWM. Other than that i really like the way TWRP operates.
[Samsung Galaxy Nexus] igor_999:
Here's the new log after attaching the thumb drive after TWRP finished booting

http://db.tt/60ZfZwhD
[Samsung Galaxy Nexus] Dees_Troy:
Most likely the zip maker just needs to replace the zipalign binary in his zip with this one:

http://techerrata.com/file/twrp2/utilities/zipalign

The zipalign that he's using is dynamically linked instead of a static binary and it's trying to link to libs in /system which TWRP doesn't allow because TWRP wants everything to link to its own libs because TWRP is a dynamically linked recovery.
[Samsung Galaxy Nexus] Dees_Troy:
So, boot TWRP, attach the thumb drive, go to backup page and hit refresh sizes. Now try to mount it and it should mount.
[Samsung Galaxy Nexus] igor_999:
That worked just fine with a fat drive thanks. :)

Unfortunately I still can't access a drive formatted to ext4

Here's a link to a log when using a ext4 drive in case that helps.

http://db.tt/60ZfZwhD

With the limited memory on the Gnex this is THE killer feature!
[Samsung Galaxy Nexus] Lesicnik1:
Just an idea, could you add a Reboot System option onscreen once you restore your nandroid backup?

Because right now you still have to hit home and then reboot and then System.
[Samsung Galaxy Nexus] original21:
Thank you for responding so fast. Unfortunately i don't know who made the zip. If anyone can fix this zip file, it will be greatly appreciated.:)

EDIT: I tried to do it myself. Can you just check if i did it right?:o
[Samsung Galaxy Nexus] Dees_Troy:
For whatever reason, the block device (/dev/block/sda1) isn't showing up at all when you have it as ext4. Either that or it's not plugged in right or something. It's just not detecting it. If it's a different drive from the one that's formatted as FAT, try reformatting the FAT drive to ext4.
[Samsung Galaxy Nexus] Dees_Troy:
Looks ok to me. Just back up system before you try it and if worse comes to worst you can restore system again to return it to normal.
[Samsung Galaxy Nexus] igor_999:
In fact it was the same drive so I've no idea why it's not showing. I've now tried using fat32 and that also works just fine so I'll stick with that for now. Thanks again for the quick support..
[Samsung Galaxy Nexus] kickthefreak:
where the link for [RECOVERY]TWRP 2.2.2.0 now with USB OTG [2012-08-24] for galaxy nexus GSM ?

thanks.
[Samsung Galaxy Nexus] Lesicnik1:
Use Goomanager.
[Samsung Galaxy Nexus] ChanceOfChange:
i love it! twrp give me speed and stability when cwm gives bugs bugs and still.... thx to developer for this!
[Samsung Galaxy Nexus] bubur_bewok:
Troy can you makes the otg working on epic 4g touch?
[Samsung Galaxy Nexus] Dees_Troy:
On the back-end, adding USB OTG to a device like the Epic 4G Touch isn't hard, but the GUI doesn't have anything in place to let you select a third storage location yet. Since the Epic 4G Touch already has 2 storage locations that makes it somewhat more difficult to add USB OTG support without giving up one of the existing storage locations in the process.
[Samsung Galaxy Nexus] original21:
Troy i am just about to flash TWRP to test everything.

Just a question. In my CWM folder, there is a sub folder called "blobs". It takes almost 1/2 gb of disk space. If i delete it will i have a problem?

EDIT:

I flash the file with the changes and it worked just fine! THANKS!
[Samsung Galaxy Nexus] kyokeun1234:
Don't delete the blob file in cwm. That is basically all the data from your backup. If you delete backup file, cwm should delete the data too after rebooting to the recovery

Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz
[Samsung Galaxy Nexus] original21:
I deleted it. Thank god nothing happened. I will just create another backup with TWRP.

In TWRP wipe section, there are 3 different wipes. internal, external, format data. What does each option do?
[Samsung Galaxy Nexus] original21:
I really like the latest TWRP 2.2.2.0! Nice job guys.:good:

I have erased my sdcard and flashed a new rom and gapps using USB OTG. This could be very handy in case there is an "accident" with your internal sdcard.;)
[Samsung Galaxy Nexus] la7lou7a:
I have 2 question concerning the possibilities of using this with encryption on custom roms.

What is needed in terms of roms/kernels in order to make it possible to encrypt the phone? I tried encrypting XenonHD rom using franco's, but all it did was restart the phone. Do I have to use stock rom or stock kernel or both for encryption to work?

What happens if the phone is encrypted on one rom and I flash another rom; would I have to re-encrypt the phone again?

Thanks
[Samsung Galaxy Nexus] Exostenza:
Just wanted to say I switched over from CWM and this recovery is so much better it is ridiculous.

Thanks to the devs for the best recovery ever!
[Samsung Galaxy Nexus] renaud:
I use stock ROM with fugumod kernel and encryption works fine.
[Samsung Galaxy Nexus] la7lou7a:
Does that mean the rom has to be stock or what? :cowboy:
[Samsung Galaxy Nexus] !crazy:
No, it means you do not have to use the stock kernel.
[Samsung Galaxy Nexus] eng.stk:
Can't seem to mount sdcard, but all other mounts works. Any fix for this?

edit: I mean mount to access on computer
[Samsung Galaxy Nexus] Pkt_Lnt:
The sd is ext4 in the nexus, and mtp or ptp is what you need to mount it. They are not supported in either recovery.

Galaxy Nexus / Tapatalk 2
[Samsung Galaxy Nexus] eng.stk:
Man, I miss my Nexus S lol

That's ugly, sometimes we need to pass zip files to sdcard and we only got recovery available. And what about adb access, is that possible?

PS: I've been a CWM client since ever, kinda new to TWRP.
[Samsung Galaxy Nexus] razortaz18:
Every time I try to flash something from the GooManager app, TWRP tries to install the file from an external usb otg location and fails because it's locally stored. How do I change this? I can install any file just fine from within the recovery itself.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] kecinzer:
Even with new goo.im download manager, I cant flash ROMs from goo manager, twrp says error.

Behaviour is same, like razortar wrotes.
[Samsung Galaxy Nexus] kong:
You can adb push the file while in TWRP.
[Samsung Galaxy Nexus] joelteixeira:
Thanks, now I know isn't only me. Downgrading to 2.2.0.
[Samsung Galaxy Nexus] 19blacktiger77:
Hi, i hace this problem:

Two Galaxy Nexus, one is mine one of my friend 4.1.1 Yakju Maguro both.

I make the procedure with GNex TOOLKIT 7.8.

Install Drivers

Unlock Bootloader

Root

Flash CWM Touch

Download TWRP 2.2.2.0 through site and flash with adb in bootloader.

All works fine! ( mine)

For my friend same procedure, but flashed TWRP Recovery instead CWM

Install BusyBox. ( both with GNex TOOLKIT 7.8)

Recovery start only first time, then i get the Android with triangle and exclamation mark.

Made unroot, unloock and flashed stock Google rom.

Made same procedure as mine, and worked... Since i installed GooManager, and flashed TWRP.

Phone get super slow, Cpu at 90-100% slow for everythings!!!

Android System App doesn't show any threads that makes the cpu goes crazy.

Now i don't know what maybe the problems!!!

Partitioning problems with GNex TOOLKIT 7.8???

TWRP bugs?

My phone works fine, my friends install stock JB another time, root, unlock, but after flashing TWRP through GooManager, same problems... :confused:

What could it be?

Thank you very much!!! :good:
[Samsung Galaxy Nexus] joelteixeira:
Install Better Battery Stats, it will give you some light about what program is eating your phone resources.

Sent from another Nexus
[Samsung Galaxy Nexus] 19blacktiger77:
I will try, thank you! :fingers-crossed:
[Samsung Galaxy Nexus] kufikugel:
hey,

I have a problem.....maybe someone of you can help me.......I have to identify which recovery is installed in my run.sh

Someone an idea which prop or which file or what ever I can check to clearly return that this is a twrp recovery, so that I can use it for an if condition??

thanks and regards,

Lars
[Samsung Galaxy Nexus] red_skittles:
The changelog for 2.2.2.2 says it supports a Jellybean encrypted phone but I don't see any option for decrypting any where. My SD partition shows as being empty in recovery
[Samsung Galaxy Nexus] kickthefreak:
[RECOVERY]TWRP 2.2.2.0 now with USB OTG [2012-08-24] are not available for maguro ?
[Samsung Galaxy Nexus] pcphobic:
Yes. Me also.

I wonder why it failed to automate the flashing process for me
[Samsung Galaxy Nexus] pcphobic:
So anybody knows what is the caused? Is it TWRP or GooManager?
[Samsung Galaxy Nexus] soder:
Problem with TWRP 2.2.2.0 and USB storage mount.

I just updated to 2.2.2.0 from 2.2.0.0 I think. On the previous version there was a big button in Mount that said "Mount USB Storage" I think. Now it's just a check box.

Either way I can't get it to work. On 2.2.0.0 I could press the button, but I couldn't get the drivers to install on my Win7x64. "All the other" nexus drivers works.

Now in 2.2.2.0 I can't even have the computer to try to install the drivers. I check the "Mount SDCard" and the "Use internal stoage", but nothing happens.

Thanks.

/Söder
[Samsung Galaxy Nexus] kecinzer:
Interesting is, that on Nexus 7 I can flash from GooManager without problem. Also TWRP 2.2.2.0. But Galaxy Nexus no go.