yashsingh1/xdaforums huggingface dataset:
[Samsung Infuse 4G] mg2195:
CWM Revert zip has been added as an atachment to the OP...so if you wanna go back to CWM just look at the bottom of the first post

as for the aroma bug this is what i think the problem is in non-technical terms: when you flash a rom notice how it only shows the log in the upper half of the screen...that is what the display of aroma is limited to...when you flash a rom in cwm it shows the log full screen giving you a full screen aroma...so im gonna have to figure out which part of the source effects the size of the log and change it to full screen...

think i found the file...compiling now to see if its fixed...keep those fingers crossed :P
[Samsung Infuse 4G] nim.whit:
What version of cwm. Because ics used 5.xxxx and jelly bean uses 6.xxxxx can you put up both options for those on both version. I personally don't need it but I could see this being a problem for others.

Edit: not that I'm making a request haha I find doing that disrespectful to devs. Just thought I'd bring it to your attention.
[Samsung Infuse 4G] bigbob_ftw:
Cm9 is using 6.xxxx now.
[Samsung Infuse 4G] nim.whit:
Thanks for letting me know, sorry for taking up thread space :P
[Samsung Infuse 4G] bigbob_ftw:
Not a problem at all :beer:
[Samsung Infuse 4G] mg2195:
Your name matches your actions :P I made a funny lol

But yeah cwm6 is in the latest build of cm9 and will most likely soon be included in all ics roms/ports

As for my fix...have yet to test it...was in the middle of compiling when I found out I was going to my grandma and grandpas house for the day...when I get home ill test it...hopefully it'll fix the aroma bug
[Samsung Infuse 4G] nim.whit:
Haha well take your time. The aroma bug doesn't effect me but even not being able to make a backup I'm loving the s*** out of this recovery. Cwm is nice but it was always kinda ordinary. Time for a new recovery haha. Thanks for porting it to infuse, mg
[Samsung Infuse 4G] mg2195:
No problem

I guess I accidently over wrote the twrp by doing a repo sync...when I compiled it compiled cwm instead of twrp :/ so I have to start fresh tomorrow...

As for back up...I'm honestly clueless as to what's causing the problem...I've asked team win for help/ideas on what's causing the problem...just waiting on a response
[Samsung Infuse 4G] GoSooners345:
Sorry for off topic

did you happen to acquire another build of cm9? in the screenshot

never mind
[Samsung Infuse 4G] mg2195:
My aroma fix didn't work :/...gonna have to do some more looking...
[Samsung Infuse 4G] mg2195:
TWRP source has been updated to 2.2.1.4 -backups now work...about to try aroma...will upload update soon :D

Edit...still no go for aroma but backuos work :)
[Samsung Infuse 4G] mg2195:
uploaded build with backup fix to goo.im...i named it 6-8-12 but meant to do 8-6-12 lol

anyways its the right one
[Samsung Infuse 4G] mg2195:
Aroma is fixed...already uploaded...should now be completly bug free!!!!! :D

file name is TWRP-2.2.1.4-8-6-12.zip
[Samsung Infuse 4G] isaiahe97:
Just downloaded twrp 6-8-12 and when I try to flash it says can't find zip. Bout to redownload and reflash in a min.

Yup retried same error

Sent from my AOKP'd Infuse 4G​
[Samsung Infuse 4G] mg2195:
Lol...yeah happened to me too...must've been a bad upload gonna re up in a minute

EDIT...dont donwload until i say download is working...having problems with goo.im...its not uploading the full thing...the file sizes aren't matching
[Samsung Infuse 4G] mg2195:
Download fixed...file name: TWRP 2.2.1.4 8-6-12.zip

-Enjoy your bug free TWRP :D

-also...if coming from a previous twrp make sure you disable re inject twrp before updating...if you leave it enabled it will re inject your current twrp canceling out the update
[Samsung Infuse 4G] NunHugger:
With your back up issues, you might want to get with Yuma. He had this working back in June...But had the same issue with the backups. But not sure how far he got in a fix, seeing how he did not release publicly, but he might have some insight.
[Samsung Infuse 4G] mg2195:
Backup issue is already fixed...it was fixed by teamwin in there latest twrp-not sure what they did to fix it...I asked teamwin for help, never heard from them...then a few days later I noticed they had updated there source on github...added there latest fixes and it was working!

-but Yuma did pm me about this the other day
[Samsung Infuse 4G] NunHugger:
Great...just giving you the heads up. Sorry I was unaware.
[Samsung Infuse 4G] mg2195:
Dont worry about it :) you were trying to help
[Samsung Infuse 4G] nedaljo:
Same issue here...any fix?
[Samsung Infuse 4G] mg2195:
Which twrp are you trying to flash?

What is your current recovery?

What Rom were you previously running?

I need more info to properly help you...

The person you quoted had that problem cause he was on gingerbread and had red cwm...you have to be on ics or jb before using this recovery...

On another note...I'm not exactly the themer...but what do you guys think about me making this recovery available in multiple colors...like one for every color of the rainbow :P...themes are easy to apply to recovery once I make them...but I wanna know if people would use them...don't wanna make something extra no one would use...a more expierenced themer could probably make a crazy theme...but I'm not the best/creative enough to make images and stuff-changing colors is easy tho :P
[Samsung Infuse 4G] isaiahe97:
I will use it:) you've done a lot of good work here looking forward to everything else you plan on doing

Sent from my AOKP'd Infuse 4G​
[Samsung Infuse 4G] psal217050:
Works great as is. It is a flash/backup tool. Want glitz and colors, IMO, watch the Olympics.
[Samsung Infuse 4G] elliot.newnham:
Love it man, does it all for me and a lot faster for flashing / wiping than CWM thanks for porting it over for us
[Samsung Infuse 4G] Nyk0n.:
Hey, nice work!

Would something like this be possible on the i777?

TWRP is amazing.

:)
[Samsung Infuse 4G] mg2195:
I777 is the note? I think the note already has it...
[Samsung Infuse 4G] Nyk0n.:
It's the at&t galaxy s2.
[Samsung Infuse 4G] mg2195:
yeah its possible...its possible with any device that has some sort of cyanogenmod/aosp/aokp...unofficial or official

-i can look into compiling it for the i777 if you want...but no promises...id have to find there source tree first
[Samsung Infuse 4G] Nyk0n.:
That would be awesome.. twrp is so much better than cwm.
[Samsung Infuse 4G] mg2195:
ok guys...ive made four differnt colored themes all of which can be found from my link on the third post

ive also added a link to supernewbdev's theme to the third post

and...ive also made a quick tutorial on how i am making these basic themes in case anyone wants to make there own...the tutorial is added as an atachment to the third post...it is a .txt file
[Samsung Infuse 4G] marty331:
This is working great, so happy to have TWRP on the infuse.
[Samsung Infuse 4G] zacharysblubaugh:
Just download and flashed twrp very straight forward but with the look of the future

I even reflashed my whole ROM just to see how it works and I loved it :thumbup:

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] scott.hart.bti:
Look at you! Nice job man... If i ever have any free time i will have to try this out... sounds amazing.
[Samsung Infuse 4G] zacharysblubaugh:
It is and it works with your ROM only takes at most 5-10min

Maybe release your ROM with this as the recovery

Sent from my Samsung Infuse running JellyBean using the xda-developers app
[Samsung Infuse 4G] mg2195:
So...I understand there is a new mtd build for cm10...I would advise not using this recovery until I can confirm it can be flashed through this recovery...

I say this because after reading one of Scott's posts it sounds like there's some crazy stuff going on during conversion...idk what exactly is going on but I gotta make sure it works with twrp...I don't want anyone bricking their phone
[Samsung Infuse 4G] mg2195:
Ok...its safe to flash through twrp...

Also...make sure you remove your external sd...I forgot to the first time (even after reading Scott's instructions 3 times prior) lol...it was like a recovery flashing bootloop -a simple battery pull then three finger back to recovery worked

It appears...that twrp no longer works with the mtd build...when trying to re flash it in it will abort...ill have to either look at the source my self or talk Scott or someone...gotta find out something...I think wig the new mtd partion they may have made a seperate partion for recovery like with most devices...its a good and bad thing...ill look into it later when I get time...gotta go job hunting :/

EDIT: DO NOT ATTEMPT TO FLASH TWRP ON THE MTD BUILD OF CM10 YOU WILL GET STUCK ON SAMSUNG LOGO...DON'T KNOW IF HEIMDALL/ODIN WILL FIX YET...

EDIT2: Heimdal saves the day :P
[Samsung Infuse 4G] MattSoRaven:
MG, I'd been meaning to thank you for bringing this to our phones. It's awesome!

Also, as I mentioned in the other thread, I tried it with the mtd cm10 build too. I can confirm that odin will repair any damage from installing TWRP over the MTD build.
[Samsung Infuse 4G] DangKid:
You never cease to amaze me mg, still a hs student and contributing great things to the scene. Excellent work with TWRP.
[Samsung Infuse 4G] psal217050:
Agreed.

---------- Post added at 07:00 PM ---------- Previous post was at 06:57 PM ----------

Saw this post 5 minutes after I used it and got the Samsung logo loop. I hope you can get it to work out. Really like the program. Nice work.
[Samsung Infuse 4G] mg2195:
I think I know what the problem is...it'll have to wait till I get home though...

Edit...been working on getting this set up since about 6 (dang repo sync takes forever...) Anyways I'm doing my first compile of cm10...hopefully I did everything right (haven't inserted twrp yet...I like to make sure I can compile cm before doing that...)

Anyways...if cm10 compiles correctly I will move on with twrp...ETA for cm10 to finish 2-3 hours...then I can work on twrp...

Ok...well...it seems this is A LOT more complicates to fix then I thought...the problem isn't with the recovery (I think) the problem is with the install script, not the updater script...the other stuff that idk how to make-time do some homework :/

Anyways I'm compiling another full build this time with twrp and I'm gonna see if it will work (that's how my first build of twrp was...you had to flash the whole Rom to get it) so basically I think twrp works but the cwm installation is borked thanks to mtd

For now...gonna flash Scott's butter test and play mw2 while I wait for the compile to finish
[Samsung Infuse 4G] mg2195:
Alright...gonna need to do a lot of studying to ffigure this out...

Don't know why I just now thought to look at a log...anyways the cwm log says it can't locate the ramdisk in the cm10 bootimage...this means...recovery isn't made the same anymore

I tried compiling cm10 with twrp and it failed...twice...gonna take a break ill look at it again tomorrow or tonight

I got it...kinda...I had to compile the boot.IMG sepertly then add that to cm10...so I got twrp with an mtd build...now I gotta figure out how to go about flashing it...I don't feel comfortable releasing the boot.IMG cause I won't be able to keep up with the kernel changes the jellybean crew is doing...and the flashable install script does not work :/...anyways gonna take that break now...

Btw...I have a feeling that the instal script failing has something to do with mountpoints...but idk for sure yet...when I get home ill work on it again
[Samsung Infuse 4G] marty331:
mg, if you have any solution or need a tester please let me know, I'm happy to help.
[Samsung Infuse 4G] mg2195:
Will keep that in mind Marty...

Btw...downloads are down...will re up in a little...see screenshot for reason

Also just realized I didn't have a back up of the themes...those dont take too long to make though
[Samsung Infuse 4G] mg2195:
Build 8-6-12 has been reuploaded

I better figure out this mtd stuff quick...entropys talking about maybe switching cm9 to mtd too!
[Samsung Infuse 4G] wakyz:
Any update on getting this to work on MTD? This is a great project and a great recovery mode. I had been using it before the MTD conversion, and would love to use it again. Just checking to see if this project is still a project and not dead in the water.
[Samsung Infuse 4G] mg2195:
yeah, im working on it...trying to get a better understanding of mtd...this project isnt dead...
[Samsung Infuse 4G] wakyz:
Awesome, keep up the good work, man.
[Samsung Infuse 4G] mg2195:
just to update you guys...i am trying to get a hold of smasher816 (the guy who created the script that allows twrp to be injected into the kernel) im trying to see if he knows anyway to install twrp onto an mtd device just like the previous builds...if you guys are desperate for twrp on cm10...pm me and i can provide a boot.img that contains it...all you will have to do is replace the one in cm10 with mine...only problem is it may be missing recent kernel fixes...i can do like a weekly update so that like once a week ill have a new boot.img with the latest cm10 fixes...probably starting tomorrow, i wont give a public download link because scott is building cm10 and it just doesnt feel right to provide a differnt kernel...idk , he would probabl;y be fine with it...but i just dont want people complaing to him about bugs that may be caused by my boot.img

also...im kinda multi tasking and working on a few other projects at the same time as twrp (twrp is my #1 priority)

one of my projects is building a 100% aosp jb rom...as in complete android source...as of now i have boot but its like what i assume the first build of cm10 was like (touch is unresponsive, somewhat responsive with two fingers) it has no cyangenmod source so its missing alot of the fixes they did for cm10

another project im working on is porting a stock samsung ics rom...i perfer aosp over stock but i think it would be knida cool to have a real stock touchwiz ics rom (not an aosp with just touchwiz launcher...im talking real touchwiz) this is no simple thing though, the chances of me ever getting it stable enough for use are very slim (dont even know if i can get it to boot) this is on the bottom of my lis of things to do and i only work on it if have absoloutly nothing else to do...BTW, i got the idea to attempt this port only because its possible to port sense to non htc devices...so im using a guide for porting sense except changing the sense parts with touchwiz/samsung parts...this probably is just as difficult as getting cm9 for our device (well probably not, but im not anywhere near as skilled as entropy or jt...or scott...or araemo...or any of those guys...so for me its gonna be really hard) im just doing it for more of a fun challenge/figuring out how everything works...best way to learn is to just do something and learn from your mistakes

anyways, im tired and im gonna be going to bed
[Samsung Infuse 4G] psal217050:
MG2195,

Just wondering how the MTD version of TWRP is coming? I would love to be able to use this instead of CWM.
[Samsung Infuse 4G] mg2195:
I've been neglecting this project...haven't really been working on it,...I think today ill work on it if not today then tomorrow

I believe the problem is they (Jt) may have messed around with the recovery partition so the install script isn't recognizing it...ill have to compare the cm10 partitions with cm9/pre mtd partitions

My reasoning behind the above is because if I get a recovery log from a failed twrp flash it says something about not being able to find the recovery
[Samsung Infuse 4G] blscallions:
mg anyway i can get a copy of your twrp? i would like to check something in it. Perhaps fresh eyes can see the issue. talking about helping you get it to mtd here.
[Samsung Infuse 4G] mg2195:
Yeah, I'll try and get it to you later tonight...
[Samsung Infuse 4G] nmnm4alll:
i can't download it, does anyone have a mirror?
[Samsung Infuse 4G] mg2195:
I'll upload one today...my too.I'm account got wiped due to a server failure...never got around to re uploading...but will today
[Samsung Infuse 4G] mg2195:
finally got a new link http://d-h.st/YvC
[Samsung Infuse 4G] nmnm4alll:
Thanks a lot :)
[Samsung Infuse 4G] marty331:
Edit: still learning to read.
[Samsung Infuse 4G] blscallions:
mg, i was modifying this package and tried to install my modified version, it messed up my kernel and to some degree even the download mode. Wouldn't this mean that it did indeed change the kernel though? I'm just assuming that the only way it would have messed up the jellybean kernel is to change it (even if the change was wrong) or am I completely off base with that thinking?

I changed a line in one of the scripts. The original package didn't do anything on jellybean though so I was thinking even breaking it might be a good thing if it did anything at all.
[Samsung Infuse 4G] mg2195:
Sounds like you got it doing something...maybe its flashing on wrong partition or size?

I don't remember what I had been doing.last...but I remember it would get stuck and the recovery error would say it couldn't find ramdisk
[Samsung Infuse 4G] blscallions:
I'm getting stuck at write_raw_image now. I'm thinking it's writing to the wrong partition. I had noticed that updater-script was trying to mount /dev/block/st19, which doesn't exist in mtd. I'm thinking that figuring out what should be mounted there might go a long way to fixing twrp on mtd roms.
[Samsung Infuse 4G] mg2195:
When I get home ill point you to the file that lists the partitions and sizes...its all in the kernel tree...
[Samsung Infuse 4G] mg2195:
Heres our mtd partition layout: https://github.com/teamhacksung/android_kernel_samsung_dempsey/blob/48a9ddf18acdf82c29cf69058dc354234e07a536/drivers/mtd/onenand/samsung_infuse4g.h

and everyhting else regarding the switch to mtd: https://github.com/teamhacksung/android_kernel_samsung_dempsey/commit/48a9ddf18acdf82c29cf69058dc354234e07a536

hopefully you find what you need to get this going there...good luck :)
[Samsung Infuse 4G] stingdude:
Very Cool
[Samsung Infuse 4G] mg2195:
Yeah, twrp is my favorite recovery... just wish I could've figure out how to get it going for mtd... but I'm all out of ideas... it works if I compile it straight to the boot.IMG but I can't figure out a way to flash it the way ICS flashes...hopefully blscallins can figure something out...
[Samsung Infuse 4G] stingdude:
never used it before... because i never knew i had an option! and now since im waiting for scott's PA 2.13 .... mtd is the final option, but it looks great!
[Samsung Infuse 4G] mg2195:
heres a log from TWRP on jellybean with info on mount points (this was obtained from a boot.img that had twrp built in...havent figured out how to flash from recovery using the ics/non-mtd method)

I:boot information:
mnt: 'boot'
blk: '/dev/block/mtdblock0'
dev: '/dev/mtd/mtd0'
alt: ''
fst: 'mtd'
fnm: ''
format location: '/dev/block/mtdblock0'
mountable: 0
backup method: 2
memory type: 2

I:system information:
mnt: 'system'
blk: '/dev/block/mtdblock2'
dev: '/dev/mtd/mtd2'
alt: ''
fst: 'yaffs2'
fnm: ''
format location: '/dev/block/mtdblock2'
mountable: 1
backup method: 3
memory type: 2

I:data information:
mnt: 'data'
blk: '/dev/block/mmcblk0p2'
dev: '/dev/block/mmcblk0p2'
alt: ''
fst: 'ext4'
fnm: ''
format location: '/dev/block/mmcblk0p2'
mountable: 1
backup method: 3
memory type: 2

I:cache information:
mnt: 'cache'
blk: '/dev/block/mtdblock3'
dev: '/dev/mtd/mtd3'
alt: ''
fst: 'yaffs2'
fnm: ''
format location: '/dev/block/mtdblock3'
mountable: 1
backup method: 3
memory type: 2

I:recovery information:
mnt: 'recovery'
blk: '/dev/block/mtdblock1'
dev: '/dev/mtd/mtd1'
alt: ''
fst: 'mtd'
fnm: ''
format location: '/dev/block/mtdblock1'
mountable: 0
backup method: 2
memory type: 2

I:sdcext information:
mnt: 'emmc'
blk: '/dev/block/mmcblk1p1'
dev: '/dev/block/mmcblk1p1'
alt: ''
fst: 'vfat'
fnm: ''
format location: 'emmc'
mountable: 1
backup method: 1
memory type: 1

I:sdcint information:
mnt: 'sdcard'
blk: '/dev/block/mmcblk0p1'
dev: '/dev/block/mmcblk0p1'
alt: ''
fst: 'vfat'
fnm: ''
format location: '/dev/block/mmcblk0p1'
mountable: 1
backup method: 1
memory type: 2

I:sd-ext information:
mnt: 'sd-ext'
blk: '/dev/block/mmcblk1p2'
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 1
backup method: 3
memory type: 0

I:android_secure information:
mnt: '.android_secure'
blk: '/sdcard'
dev: '/sdcard/.android_secure'
alt: ''
fst: 'vfat'
fnm: ''
format location: ''
mountable: 0
backup method: 3
memory type: 0

I:special 1 information:
mnt: ''
blk: ''
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 0
backup method: 1
memory type: 0

I:special 2 information:
mnt: ''
blk: ''
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 0
backup method: 1
memory type: 0

I:special 3 information:
mnt: ''
blk: ''
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 0
backup method: 1
memory type: 0
[Samsung Infuse 4G] blscallions:
Does this boot.img work on mtd jellybean? If it does, any chance I can get a copy of that? I have been looking at some twrp mtd installers for other devices and am just wondering about something.
[Samsung Infuse 4G] mg2195:
added as an atachment...yes it works with mtd, i usually just heimdall flash it through terminal

heimdall flash --kernel boot.img

-of course you have to first navigate to the directory of the boot.img or just include the entire directory with the "boot.img"

or just use it to replace existing boot.img in any jellybean rom...

if you want the install scripts, its the same as anyother mtd rom...just extract them from cm10, paranoid, cypher, cna...etc
[Samsung Infuse 4G] blscallions:
ok i have a cwm package that installs the twrp boot.img you sent me mg. I would be glad to let you get it if you want.

---------- Post added at 04:37 PM ---------- Previous post was at 04:00 PM ----------

so for funzies, i had changed the script on the twrp injector ( the one that uses the ramdisk-recovery.img to install twrp), i set it to place boot-twrp.img (used to flash "boot") on the sdcard. This way when the script went to delete it from /tmp it wouldn't be there and should have been still sitting on the sdcard, but when i went to go see this boot-twrp.img it wasn't on the sdcard. the original boot.img was but the its like the injection never happened. Might this mean there is something wrong with injecttwrp? Maybe ramdisk-recovery.img needs to be updated? I noticed in some other twrp installers ramdisk-recovery.img was smaller on mtd when compared to bml counterpart, might just be coincidental though.
[Samsung Infuse 4G] mg2195:
Feel free to upload it if you like, but I have no use for it...the reason I don't release twrp as the boot.img is because there are too many kernel updates and different versions of kernels for me to keep up with...plus I don't like changing people current kernel set up just for a recovery
[Samsung Infuse 4G] mg2195:
Ramdisk recovery has been updated and makes no difference...try flashing twrp, then go to report bug in cwm, mount USB and look at the bug you'll see that it can't find the recovery-ramdisk in the original boot.img... soooo...that's where I got stuck at..cause I know its there, and I know its using gzip compression...so idk

BTW...I must've compiled over 50 different twrp recovery ramdisks using a cm10 mtd setup trying to get this going...

Also, the boot.img I uploads contains the latest twrp source as of yesterday and I don't remember if I updated kernel source...so its either a week old kernel source (last Friday) or a day old
[Samsung Infuse 4G] blscallions:
It's some sort of read error caused by cwm 6. They are having the exact same problem on the sgs 4g t959v. Someone realized that cwm 5 is still able to read it correctly, and cwm 6 is not. They say they might have a fix soon. I'll track that and try to copy what they are doing onto your package.
[Samsung Infuse 4G] blscallions:
MG, Are you familiar with the flash_image method of updating recovery? I am wondering if this is possible for us. Not sure what is in recovery.img though.
[Samsung Infuse 4G] marty331:
MG,

If we have the recovery.img can we simply flash it with Fastboot?