yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] dbx4:
If I understand it correctly, you do a factory reset -> install new ROM -> fix permissions and it does not check permissions for system apps in /system/app/?

The way I see it, this cannot be fixed. The permission fixing script gets the list of apps from /data/system/packages.xml. If you have done a factory reset /data will be empty and the file does not exist. When you boot into the freshly installed ROM for the first time, Android will automatically create it. I don't know of a way how the recovery could create it.

On the other hand, the installation scripts for .zips have commands for checking and setting permissions. So a custom mod.zip can copy its files and then set permissions to make sure the permissions are ok. Unfortunately this will have to be fixed by the respective developer of the mod.
[Galaxy S Plus I9001 Android Development] dbx4:
New Version 2.2.0

Update: TeamWin Recovery v.2.2.0

TWRP has just undergone a larger upgrade to version 2.2 and added many exciting new features!

What's new?

Integrated Keyboard - a major revolution for Android touch recoveries! Works just like regular keyboard, set cursor position by touching the entry field.

Set custom backup name - e.g. add the name of the ROM you have currently installed

Terminal emulator - simple command line interface

Rename and delete backups - full backup managment inside recovery!

Rename files in file manager

Set custom file permissions - using octal notation

Fixed timezone names (my small contribution to the TWRP project)

Download

2.2.0 as installable zip

2.2.0 as img file

Notes

If you have a /sdcard/TWRP/themes/ui.zip, please delete it! Themes will have to be updated to the new TWRP version, otherwise they will not show any of the new features. Other than that themes bug seems to be fixed now and themes do load correctly.

I have not had time to extensively test this build yet, there might be bugs.

Mount USB storage currently only mounts external SD for me, I will work on fixing it.

Screenshots

Keyboard! Terminal emulator!

Backup menu with new "Set backup name" option. Restore menu with new "Rename backup" and "Delete backup" options.

File manager can now rename files. Restore menu now has a handy switch for internal/external sd card.

Time zones now have easy to understand names with UTC offset and major cities. Wipe menu can now also wipe external SD.
[Galaxy S Plus I9001 Android Development] wietwiet:
It looks really nice, and has some nice additional functions on top of 2.1.8 (edit: typo), but unfortunately 2.2 seemed to be too unstable to use or savely flash / backup with for me. It kept crashing after a couple of minutes, while just scroling trough the menus. The screen goes blank, and I need to take the battery out. I was able to continuously repeat this bug, but I couldn't find the culprit (had no TWRP themes installed, and tried a wipe of cache, but it still was crashing repeatedly).
[Galaxy S Plus I9001 Android Development] dbx4:
:( That's not good. I have not experienced any crashes so far.

Awaiting more reports...

Keep backups and remember you can always go back to the very stable 2.1.8 version.
[Galaxy S Plus I9001 Android Development] wietwiet:
I'll try to do some more testing: I used the .img and manually pushed it trough the terminal. I'll try the .zip now

EDIT: Exactly the same problem with the flashable .zip. It keeps crashing, and sometimes just reboots back into android. Can't log anything, dmesg trough adb only states changes in battery level and I wasn't able to grab the moment it crashed on with dmesg. Continuously sending adb commands seems to keep TWRP 2.2 from crashing though. I was able to keep it up and running for over 5 minutes - a personal record. Without usb connection / usb with adb running but not sending commands, it'll just crash within 2 minutes. Don't know if flashing, restoring, etc goes stable. Didn't felt like risking it :-P

Oh, and the reboot into recovery from within TWRP doesn't seem to work properly as well (freeze).

For the rest: Great work, and keep it up dbx, hope you can find out what's going wrong!! For now i'll stick with 2.1.8
[Galaxy S Plus I9001 Android Development] rickvrolings:
I had 2.1.8 version installed. Can i restore my backups after installing the new 2.2.0 version?
[Galaxy S Plus I9001 Android Development] dbx4:
Yeah, this won't be easy to figure out. As a last thing, can you please try first formatting your recovery partition and then flashing 2.2.0 again and see if the problem persists? Quickest way is with Broodplank's Quickflasher, activate the wipe option.

Yes.
[Galaxy S Plus I9001 Android Development] chasemyass:
Well is odd that they advice us/telling us to:

- wipe data/factory reset

- flash mod

- fix permission (very important step)

since android builds up the /data after 1'st fresh boot...

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] abhimukesh25:
Can i use this recovery over cm9 recovey...?

Also can i resort my backup from cm9 recovery.....?
[Galaxy S Plus I9001 Android Development] dbx4:
Yes.

No.

Yes.
[Galaxy S Plus I9001 Android Development] ajrcz:
No Mount System ?
[Galaxy S Plus I9001 Android Development] webmode:
Great work, thank you
[Galaxy S Plus I9001 Android Development] wietwiet:
I'm out of idea's. Tried about every possible solution. Tried multiple kernels (arco's, vitality, oisis), and etc. but nothing seems to make it work more stable. I still don't get why i'm the only one having this issue, never had any trouble with any recovery, but oh well, i'll stick with 2.1.8 for now.
[Galaxy S Plus I9001 Android Development] dbx4:
Yes that is a bug, I will try and fix it.
[Galaxy S Plus I9001 Android Development] abhimukesh25:
(Off topic problem)

I backup my rom using cm9 recovery but when ever i want to retore it give some error like

MD5 mismach....

Evey time i get this msg..

Anyone have some salution for this problem....? :confused:
[Galaxy S Plus I9001 Android Development] rmbq:
have you changed the name of the file?
[Galaxy S Plus I9001 Android Development] abhimukesh25:
Yes.....!
[Galaxy S Plus I9001 Android Development] rmbq:
md5 is a string generated by the name of the file, the date of creation, the size and other... you must rename it with original name and try to flash it again... or maybe there's a program that changes the md5 using the new file name....

EDIT:

You can't flash a cm9 recovery bkp with this recovery!!
[Galaxy S Plus I9001 Android Development] faust.deaconu:
i faced 2 or 3 shutdowns when i turned the phone into TWRP. what could be the cause?
[Galaxy S Plus I9001 Android Development] jaggyjags:
Experienced the same issue. It suddenly shuts down the phone randomly. Sometimes while making a backup. Maybe I should install the bootloader update as specified in the FAQ?
[Galaxy S Plus I9001 Android Development] morofaya:
Had the same issue probably has to do something with low battery orso, plug in your adapter. With the adapter plugged in it wont shutdown.
[Galaxy S Plus I9001 Android Development] faust.deaconu:
I disagree. It happend even with battery full
[Galaxy S Plus I9001 Android Development] dbx4:
Hmm for people with the shutdown problem, I suggest going back to 2.1.8 for now.

I'll keep older versions in this post: http://xdaforums.com/showpost.php?p=27036612&postcount=2
[Galaxy S Plus I9001 Android Development] ajrcz:
Already back to 2.1.8...:(progress thanks to
[Galaxy S Plus I9001 Android Development] rohitzz:
How to remove this recovery if warranty claims????
[Galaxy S Plus I9001 Android Development] texten:
flash stock rom with odin
[Galaxy S Plus I9001 Android Development] rohitzz:
If I wipe data or factory reset it will be removed or not ?????
[Galaxy S Plus I9001 Android Development] iCloud:
No. Flash stock recovery which can be found at the wiki.
[Galaxy S Plus I9001 Android Development] rohitzz:
If I flash twrp and backup the current stock rom and flash another rom how can I restore it can I flash it in another rom and restore backup please tell me ,can't use Odin..???
[Galaxy S Plus I9001 Android Development] ajrcz:
No. The only way is to convert your uploads like this: flash CWM, restore a backup, flash TWRP, create new backup, repeat.
[Galaxy S Plus I9001 Android Development] iCloud:
Take some effort to read FAQ at page 1 and do some searching.
[Galaxy S Plus I9001 Android Development] rohitzz:
Can I restore the backup made by twrp with cwm recovery???
[Galaxy S Plus I9001 Android Development] rohitzz:
I have readed the FAQ but nothing understood ....I am asking that I made a backup with twrp of stock rom and flashed cm9 now how to restore my stock rom

Should I use cwm or flash twrp again to restore it ????and can cwm restore the backup made by twrp recovery??????
[Galaxy S Plus I9001 Android Development] ajrcz:
A copy made ​​in CWM - CWM is restored, and a copy is made ​​in TWRP - in a restored TWRP....:D
[Galaxy S Plus I9001 Android Development] rohitzz:
Please explain me in easy words ????
[Galaxy S Plus I9001 Android Development] dbx4:
1. A TWRP backup is restored using TWRP.

2. A CWM backup is restored using CWM.

3. CM9 can be flashed with both recoveries, you do not need to switch to CWM to install CM9.

So yes, you can restore your stock rom backup. Since you made it in TWRP, you need TWRP to restore it.
[Galaxy S Plus I9001 Android Development] Keinbockwurst:
Installed now, worked fine. :)
[Galaxy S Plus I9001 Android Development] rohitzz:
Is their any other solution I am always booting in recovery mode can reboot my phone????
[Galaxy S Plus I9001 Android Development] zimmbadroid:
Read FAQ in 1st post!
[Galaxy S Plus I9001 Android Development] Eric_cn:
I just hope: this recovery can backup efs sooner,like that stuff.I really need it.thanks a lot.
[Galaxy S Plus I9001 Android Development] dbx4:
Nope, TWRP does not have that function (yet). It's a good idea though, I'll pass it on to the devs.

Meanwhile here are the instructions on how to back up your efs: http://xdaforums.com/wiki/Samsung_Galaxy_S_Plus/GT-I9001#Flashing

dd if=/dev/block/mmcblk0p27 of=/sdcard/efs.ext4 bs=4096

is all it takes
[Galaxy S Plus I9001 Android Development] siet567:
with version 2.2.0 my phone has random shutdowns in recovery..... it has shut down after wiping data after a flash of a rom and after restoring a rom, if this happens during a flash i'm ****ed so does anyone know how i can fix this or if this is a recovery problem?
[Galaxy S Plus I9001 Android Development] iCloud:
Got that 5 minutes ago. Just restore another rom and reboot(important) . Go back to recovery and restore ur rom. :p
[Galaxy S Plus I9001 Android Development] siet567:
so i have to restore a rom twice?
[Galaxy S Plus I9001 Android Development] iCloud:
Yes. Are you restoring a backup or flashing a new rom? If you are restoring a rom and it power off itself then follow my above post.
[Galaxy S Plus I9001 Android Development] Oujee:
nice work dbx4 it works great
[Galaxy S Plus I9001 Android Development] przemczan:
Hi everyone,

I also have a problem with random shut downs while in TWRP. Also, when I'm restoring a backup almost every time the restoring process stops (after a while, sometimes short after "...Restoring done" prints out), and the blue courtain shows and then it slides up. It looks like TWRP was self reboting or something. Unfortunately the restoring process doesn't finish, and got problems with booting or using restored system, mainly because of FC's.

I tried to restore each partition separately, but it didn't helped. I have this almost always while restoring boot partition. Event if I got a few backups, it occurs on each of them. It's frustrating cause i fear to flash roms cause I don't know if I will be able to revert the changes :(

But i won't stop using TWRP :)
[Galaxy S Plus I9001 Android Development] jaggyjags:
I also had that problem but think I found the solution. First time I flashed the recovery.zip using feamod Cwm recovery. But if you do it using ics cwm it works fine. Look for it on the cyanogenmod 9 thread.
[Galaxy S Plus I9001 Android Development] dbx4:
I have been trying to replicate the random shutdown bug on my device but no luck so far.

However I assume the fault must lie with the kernel. So I packaged a current compile of TWRP 2.2 with the old kernel I used in TWRP 2.1 (also mount system option now shows again):

twrp2.2.1-test.zip: http://www.mediafire.com/?uf1a9oda8pdnpoc

Could people who experienced the random shutdown bug please test this?
[Galaxy S Plus I9001 Android Development] BanBoo:
Hey there i habe the recovery bootloop and no PC nearby. Actualy no PC i can install Odin. Is there a file i can put on the SD card to fix the bootloader?
[Galaxy S Plus I9001 Android Development] dbx4:
Not the bootloader, no. You can install this zip to temporarily get out of the recovery bootloop and be able to use your phone again. Next time you enter recovery you will have a loop again though. The permanent solution is with Odin, do that once you get access to a PC.
[Galaxy S Plus I9001 Android Development] przemczan:
Just tried, same thing :(

I'll try 2.2.1 version and I'll tell you how it went.

[EDIT]

Ok, tried 2.2.1 and nothing :(

I have two backups now, one with GB and one (currently used) with ICS. I tried to restore each of them, and the one with GB didn't worked, but the another one works fine and restores without restarts (tried 3 times!).

Can the backup be broken? Or does the current rom make a difference? :/ I think it shouldn't.
[Galaxy S Plus I9001 Android Development] dbx4:
Please provide the recovery log so we can see what the error is. Try to restore your GB backup, then go Advanced -> Copy Log to SD and post the file here.
[Galaxy S Plus I9001 Android Development] wietwiet:
Great job dbx, no crashes anymore with 2.2.1...!! I just made a backup of cm9 alpha 4, and flashed alpha 5, gapps and vitality, and it went flawless. Mount points, etc. Everything seems to work fine now.
[Galaxy S Plus I9001 Android Development] Dragon0501:
Hey Guys,

when i wipe cache, then dalvik and at least fux permissions my recovery crashes. Phone is switched off. Any ideas?
[Galaxy S Plus I9001 Android Development] dbx4:
Which version? Did you try the 2.2.1-test version I posted a few posts above?
[Galaxy S Plus I9001 Android Development] Dragon0501:
No i didn't. Is this a full working version? because there is "test" in the name.
[Galaxy S Plus I9001 Android Development] Dragon0501:
Other problem is: dowbload doesn't work.
[Galaxy S Plus I9001 Android Development] dbx4:
Yes, it's a full working version. The "test" is because I want to see if this random shutdown bug is now fixed in this test version or not.

The download must be a problem on your end.
[Galaxy S Plus I9001 Android Development] Dragon0501:
Thank you for help. Will try to youse another downloader.
[Galaxy S Plus I9001 Android Development] rohitzz:
I can't restore backup with twrp

I click restore button nothing appears!!!

Please can't restore my stock rom !!!!
[Galaxy S Plus I9001 Android Development] dbx4:
1. Is it a TWRP backup? TWRP only restores TWRP backups, not CWM backups.

2. Is it on your external or on your internal SD card? In the restore menu, there are radio buttons at the top where you can switch between internal and external.

For example, I do all my backups on my 32gb external SD. If the restore menu view is set to internal, the list is empty because I don't have any backups on my internal sd card.
[Galaxy S Plus I9001 Android Development] rohitzz:
And I also done backup with cwm and now while restoring it says md5 mismatch any solution for this also

Please please!!!
[Galaxy S Plus I9001 Android Development] rohitzz:
No its in internal and doesn't shows anything!!!
[Galaxy S Plus I9001 Android Development] dbx4:
If you do not read my responses, there is no solution for you.
[Galaxy S Plus I9001 Android Development] rohitzz:
No I am using cwm for restoring and it shows md5 mismatch
[Galaxy S Plus I9001 Android Development] przemczan:
Made a log file:
[Galaxy S Plus I9001 Android Development] dbx4:
Here is a tutorial how to re-do the md5 sums: http://xdaforums.com/showthread.php?t=714114

Also this is the TWRP thread for discussing TWRP. Please post your CWM problems in the appropriate thread.
[Galaxy S Plus I9001 Android Development] BanBoo:
Hey guys, first nice work! Managed the Recovery bootloop and now everything seems nice!

One question... Can this recovery manage armoa installations?!

Thanks und keep up the good work!:good:
[Galaxy S Plus I9001 Android Development] dbx4:
Yes, I've done Aroma Installer installations and they all worked fine.
[Galaxy S Plus I9001 Android Development] przemczan:
Hmm... in backup menu I have an option to backup recovery partition, but there is no such option in restoring menu. I think I've seen this option in restoring menu in version 2.1.8, but I'm not sure.
[Galaxy S Plus I9001 Android Development] jaggyjags:
Same to me, at the middle of a restore (only some of them, so the problem has to be with the backup process) it stops and recovery restarts from the courtain. If you need another log ask me, as i moved back to cwm for the tome being. Thanks!
[Galaxy S Plus I9001 Android Development] dbx4:
Did you try the new 2.2.1 version?
[Galaxy S Plus I9001 Android Development] przemczan:
What you say about that this could be a badly made backup is possible in my opinion, cause I've made a backup today, and it has the same symptoms, but a one day older backup of the same system works perfectly. I've tested these two backups a few times, and always have the same situation, one works, and the other one not.

For the moment I'm helping myself with TitaniumBackup and extracting required settings/apps from those "broken" backups.

I'm still using TWRP 2.2.1.
[Galaxy S Plus I9001 Android Development] Joy`:
Is it include Wipe Battery Stats ?
[Galaxy S Plus I9001 Android Development] dbx4:
Nope that has been removed since it doesn't actually work, see:

http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/

and

https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT

You can still do this manually in recovery by mounting data partition and then deleting /data/system/batterystats.bin using the file manager.
[AT&T, Rogers HTC One X, Telstra One XL] Skizzy034:
Can you get root by just installing SuperSU from the play store or do you have to flash something with CWM?
[AT&T, Rogers HTC One X, Telstra One XL] Hydromea:
Search for something like 'one click root' in the Development forum. Or go to the top of the dev forum, click on the sticky named '… Compilation' and find the link to the One Click Root thread. Download the One Click Root tool and run it, following the directions, on a Windows computer with the HTC drivers installed. Super simple if you do it right.
[AT&T, Rogers HTC One X, Telstra One XL] Skizzy034:
You can't run it on 1.85 tho I thought. I was just wondering if after you unlock on 1.85 if you can just download SuperSU to root.
[AT&T, Rogers HTC One X, Telstra One XL] focussoft:
no u need more then that the SU app only controls the SU access , it doesn't make it root

read this tread for one click root http://xdaforums.com/showthread.php?t=1644167

orU can install clockworkmod recovery after u unlocked your bootloader , then u can install cleanrom or nocturnal rom and those are already rooted if u want to go that way
[Samsung Epic 4G Touch] rujelus22:
So I have been wondering for awhile now and maybe someone can explain it to me but what are the teams about? Isn't XDA one big team? I do not understand why people break up into little groups. Wouldn't it be easier\better if everyone was all on the same team sharing info and knowledge?

Not trying to bash anyone for being on a team or saying they are bad I am just curious.
[Samsung Epic 4G Touch] Mu5ic92:
I think its just that there's certain individuals that decide to pursue one side of developing and other individuals who pursue another. Where their interest don't meet they seek others. There's small competition which will always lead to innovation. And they brand it a team for rightful acknowledgment and credit. They don't keep info from others they share it when asked I'm sure.
[Samsung Epic 4G Touch] iSaint:
There are 3.6 billion women in the world and I just made my own sandwich.

You catching what I'm pitching? ;)
[Samsung Epic 4G Touch] VECTUS:
Well I started TeAm VeNuM because I am self taught. I wanted to teach and help those that wanted to learn. Most developers are secretive, arrogant and egotistical. I wanted a TEAM that would help each other and place "WE" before "I". Because in all the years I've been doing this I have yet to learn everything. But people on our team are constantly helping me learn, live and grow... "There is strength in numbers."
[Samsung Epic 4G Touch] mrej201:
lmfaoo

rujelus22is right if all share knowledge alot can me accomplish like makign more cool roms and more tweaks etc! SHARING IS CARING

but then again there is competition
[Samsung Epic 4G Touch] rujelus22:
Well that is good to hear. I have always had good experiences with TeAm VeNuM. I have like you said though run into a lot of the other type of teams that are secretive, arrogant and egotistical.
[Samsung Epic 4G Touch] RainMotorsports:
mrej its often not about competition. Not everyone has the time to help every single person. It takes more time to write a good thread than it does to assist one person. But we applaud both.
[Samsung Epic 4G Touch] aaron130:
ROTFLMFAO!!! What a GREAT analogy iSaint!! Bravo!!! Lmfao
[Samsung Epic 4G Touch] ReActiveDisorder:
iSaint you are a crazy S.O.B. But This forum would be almost boring without you around. Lol.

Teams are just that. I want to grow and learn new things. Its very hard when you are all alone. To have other people there to help you when u need it is a great asset. I would help anyone who needed it dont get me wrong but I like the fact i got numerious people on my side. Other devs are kinda self centered. I was getting that way my self then I realized it didnt make any sense to go at this alone.
[Samsung Epic 4G Touch] strongsteve:
I think of all the guys at team Mik as my mentors.. its who you learn from that you stay loyal to. There are several little niches or specialties.

Sent from my SPH-D710
[Samsung Epic 4G Touch] rujelus22:
Well see now I read all of that and I feel all lonely by myself now. :(
[Samsung Epic 4G Touch] strongsteve:
Seems like your thread is full of outstanding team mates.. Mark for one..

Sent from my SPH-D710
[Samsung Epic 4G Touch] Esoteric68:
We're great cheerleaders just not quite ready for prime time (i.e. know little to nothing about creating ROMs, themes, etc) but he definitely has our support!

I'd love to start learning just have to find the time to get started and stick with it, for now I just ride the bench and root him on.
[Samsung Epic 4G Touch] stormglove:
Team ERA started out sorry of the same way on the OG epic by ksmullins. There was a bunch of us who wanted to give back so we started working together, pretty much self teaching each other other new things all the time until we finally got some ROM's going. Unfortunately After a while some of us moved to different devices and kind of fell off the charts, but i think we are starting to get back together at least when we have time. It would be nice if we had some more of the OG epic guys come over here with us but we try and make due and are always taking help when we can. Without help from other teams, devs, and xda members we wouldn't be anywhere. I can't vouche for any other forums but the OG epic and this one really are great communities for all members to learn and create great products.
[Samsung Epic 4G Touch] rujelus22:
Once I get the time to finish up my guides maybe this will change.
[Samsung Epic 4G Touch] The Root:
ACS is really a great team to be on. XDA gets big. If I need guidance or want to learn an aspect of things I know who to go to. Sometimes you can move faster within a team. Also sometimes teams create the need for a project and in the end everyone's a bit better at what they did or learned something completely new.