yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] NYLimited:
Now I know he'll never sleep! :D

---

Everyone has a photographic memory. Some just don't have space left on their sd card ... (via Tapatalk)
[HD2 Android NAND Development] shanman-2:
No don't think so, it worked fine on rev 7!
[HD2 Android NAND Development] NYLimited:
TWRP

@kokotas -

Have you considered making your changes "official" with TWRP so the HD2 would once again be properly listed on their site?

You would still have to support it since, as I understand, they do not have anyone with HD2 background currently.

As I understand it the last digit of the release number (e.g. 2.3.3.x) represents the platform or device - in our case the HD2. I do not know if Dees_Troy has a number for the HD2 at this point in time but it may be worth a thought to unify things.

Of course, I could be all wrong here... Wouldn't be the first time. :eek:
[HD2 Android NAND Development] NYLimited:
Sorry to say but we are not out of the woods just yet.

Tonight I was playing around and decided to reset all to default. No more DataOnExt. Turned on md5 and checked /boot /data (userdata), sd-ext.. Just copy it all, I don't care what it is.

Backup started and got to sd-ext when twrp just restarted itself - back to the splash screen.

The log shows backup starting and poof! I didn't try to fix permissions and had the xml verification unchecked.

On another topic, in dataonext mode twrp seems to verify the xml file but re-verification at backup time failed. Seems there is a difference in the code someplace. And, the backup directory is created before the check - remains empty when the check fails.

If it should hp the log is at http://db.tt/FCBHFbtA.

---

Everyone has a photographic memory. Some just don't have space left on their sd card ... (via Tapatalk)
[HD2 Android NAND Development] g.andy:
Today I tried to flash a ROM in nativesd inside tboot partition, but after flash the rom I could flash the file tboov2 as it gave me error, why! I clk 1.5.1.6 and Twrp V7A

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] petbede:
Same thing happened to me. I could flash Mount2SD v4.6.2 Aroma.zip.

But with TWRP v2.0.0 it works perfectly.

PEACE!!!
[HD2 Android NAND Development] Dark_Avenger:
A quote from the TWRP web site:

You could use the update-binary from TWRP install zip as well.
[HD2 Android NAND Development] NYLimited:
Do you know how this might impact any/all CM ROMs? I wonder if CM will incorporate the new binary as well. If not, devs like Tytung are likely to continue using the one released by CM, no?
[HD2 Android NAND Development] kokotas:
Hi guys,

Here is a new compiled version of TWRP. While I began working on this one mostly trying to fix any existing bugs, I couldn't resist to porting all the interesting stuff from new TWRP v2.4. However I didn't include all the goodies (libfuse, libtar, exfat) in the attached version. The way I see it... lets first have a working-stable-bugless-version(is there such a thing?) and move on from there..:) I really hope this is a stable version cause it's getting harder to find some spare time and mess with this:(

Changes:

Another attempt to fix partitions' sizes for the backup process.

Added option (under "Backup" page) for the user to select if the NativeSD roms will be excluded or not from the sd-ext backup.

Added ability to run shell scripts that you might have on your sdcard (/sdcard/TWRP/scripts).

Added back the missing "Reload Theme" button under "Advanced" page.

Regards!
[HD2 Android NAND Development] Dark_Avenger:
Just tested it and... it looks great!!! Thank you very much! For me partition sizes are now correctly calculated. Updated theme for rev9 is attached.
[HD2 Android NAND Development] shanman-2:
Just did full backup for DataOnExt, ran without a hitch.

Thanks man.
[HD2 Android NAND Development] shanman-2:
Nice.
[HD2 Android NAND Development] NYLimited:
I feel like I am jinxed! I wanted to start 100% clean so I installed CWM Recovery, deleted the entire TWRP folder from the sd card and used CWM Recovery to install the new, rev 9 TWRP.

Rebooted and TWRP loaded. But, there were no options anywhere to setup DataOnEXT again!? Nothing under setup, nothing under advanced, nothing under backup... I tried to take some screenshots but unfortunately they were all saved as zero byte files. I could not even attempt a backup since I was pointing at userdata from NAND which is empty.

No idea what happened, sorry. If it was a bad zip file it should not have ran at all one would think.

Anyway, I will attempt to download and install it again to see if that changes anything. :crying:

[ EDIT]

Okay, the second download yielded an identical file.

Installed via TWRP.

It should be noted that after the zip was seemingly installed the display indicated "Flashing file 1 of 0" and it hung at that point. After 3 minutes I removed the battery and rebooted.

Same issues. The Advanced tab only has 4 buttons and there is no option to save the log.

For the moment I am out of ideas..

---

Everyone has a photographic memory. Some just don't have space left on their sd card ... (via Tapatalk)
[HD2 Android NAND Development] MarkAtHome:
I had the same experience. Fun to choose reboot, get the reboot page with no buttons to press! :laugh:
[HD2 Android NAND Development] Hammerfest:
sorry, while literally scanning the page that word stuck out... I know its not in yet, but when it is, glory will ensue!

Speaking of, as my preferred FS, when I can use exFAT instead of NTFS/FAT16/FAT32, in both Recovery and ROM, I will be one happy camper..

12TB RAID using exFAT (not mine, did for someone else after NTFS nightmare), and all my drives that are ABLE, are setup as exFAT!

HD2 is on da charger :D
[HD2 Android NAND Development] NYLimited:
I did find something new! At one point when I had no "reboot" option (don't know why) I pressed "back" and I found a twrp lock screen. Go figure!

​

[ On another topic - E2FSCK / TUNE2FS ]

I have never seen such a count before and I can assure you this partition has been checked recently. I can not say for sure but this number SEEMS bogus - something is amiss.

​

Say what? I need to look at your signature (Tapatalk is not good with signatures) - your ROM supports ExFAT???

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] Kameirus:
i beleive he said on his friends comp he has a 12tb raid exfat

would be nice to have a 12tb phone lol
[HD2 Android NAND Development] shanman-2:
Backup and restore working fine but having problem with fixing permissions on dataonext.

Filemanager shows sdext as being empty but rom boots normally!

Did a full restore from earlier backup on rev9 all went well, checked sdext and it showed correct contents, rebooted and again showed empty.

Log file attached
[HD2 Android NAND Development] NYLimited:
OMG, I am getting a headache! A 12 TB phone?! And I thought the 128 GB micro SD cards were going to be exciting! Anyway, ExFAT in the ROM would be interesting (not the realm of this thread, I know)...

​

You are correct. Looking at the log I can see the sd-ext partition found and verified. Yet, when it comes to fixing premissions it fails:

Updating partition details...
mount: mounting /dev/block/mtdblock5 on /data failed: Not a directory
Can't check permissions.
(/data/system/packages.xml not found)

Possible reasons:
(a)TWRP detected /data but it's empty.
(b)TWRP can't mount /data properly.

I:Unmounting main partitions...
Done.

Of course, I could not even get that far for some reason so.. :'(

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] naveensainiraush:
Hey all plz tell me is there any way to change TWRP language. Because if found one but that is in chinese... and I don't understand it

Plz help.

My phone is karbonn A7 a.k.a. Walton Primo/Ktouch w619/mobistar s01/fpt f8

Help... ￼
[HD2 Android NAND Development] Dark_Avenger:
Missing buttons are because the condition is not true:

<condition var1="tw_has_external" var2="1" />

<object type="button">
<placement x="%ext_col1_x%" y="%ext_row1_y%" />
<condition var1="tw_has_external" var2="1" />
<font resource="font" color="%button_text_color%" />
<text>Copy Log</text>
<image resource="ext_main_button_small" />
<actions>
<action function="set">tw_back=advanced</action>
<action function="set">tw_action=copylog</action>
<action function="set">tw_text1=Copy Log to SD Card?</action>
<action function="set">tw_action_text1=Copying Log to SD Card...</action>
<action function="set">tw_complete_text1=Log Copy Complete</action>
<action function="set">tw_slider_text=Swipe to Confirm</action>
<action function="page">confirm_action</action>
</actions>
</object>
[HD2 Android NAND Development] g.andy:
What i apply this theme. In the twrp folder there isn't a folder theme

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] NYLimited:
Well, that makes sense but the condition *should* be true - I (obviously) have the external card which is where I installed twrp from. Keep in mind that previous versions detected the card as well. So, something is, sadly, still amiss... :'(

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] Dark_Avenger:
Create a folder "theme" under "TWRP" and place the file (ui.zip) in there.
[HD2 Android NAND Development] NYLimited:
One, one more thing.. The "install" button remains and clicking it finds and navigates the card fine. I was able to install another copy of TWRP this way...

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] g.andy:
thank you, but then I have to set the TWRP or set it by yourself?

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] Dark_Avenger:
TWRP is looking for "/sdcard/TWRP/theme/ui.zip" and load it automatically if found.
[HD2 Android NAND Development] g.andy:
OK. Great!!!

Inviato dal mio multiboot HD2
[HD2 Android NAND Development] kokotas:
In these versions of TWRP there is no need to flash anything after installing a NativeSD Rom.

Go to Advanced/NativeSD Manager/Kernel Update

Select the rom you've just installed

Select the boot partition to which the kernel will be flashed

Click Restore button

exFAT support is a new feature added to the mainline TWRP (v2.4).

I have included it in ours (to the version I'm testing) but while I'm able to create an exFAT partition from inside TWRP, there is a problem when trying to mount it(FUSE issues). If I can find a workaround, I will add it in the next release even though without a Rom that supports exFat this will be of no use.

Thanks for the feedback! I forgot to uncomment a single line in the Fix_Permissions() function:o and that is probably the reason of this problem.

Obviously TWRP doesn't detect your sdcard properly.

While /sdcard is mounted and accessible from "Install" page, the value of "tw_has_external" variable is not set right...

The log can be retrieved via "adb pull /tmp/recovery.log" since your "Copy Log" button is hidden. It would help in this case.

Regards!
[HD2 Android NAND Development] Dark_Avenger:
kokotas,

this is also interesting - no buttons in the Reboot page. This means that "tw_reboot_system", "tw_reboot_poweroff", "tw_reboot_recovery" and "tw_reboot_bootloader" are also not set. Maybe this will give you a hint why "tw_has_external" is also not set.
[HD2 Android NAND Development] g.andy:
Thank you for the clarification Kokotas.

If I understand

FOR TWRP

1 Enter in to recovery / install / choose the rom zip and proceed with the flash

2 After flash the rom and without restarting the phone, go to Advanced / NativeSD Manager / Kernel update

3 Select the rom you just installed

4 Select the boot partition where the kernel will be flashed

5 Click the Restore button

FOR CWM

1 Enter in to recovery / install / choose the rom zip and proceed with the flash

2 After flash the rom and without restarting the phone, proceed with the flash file on the partition where you want to flash the rom (example sbootv2.zip or tbootv2.zip etc. ..)

Riavvaiare

If I confirm this would be to highlight for noobs like me!!!!!
[HD2 Android NAND Development] Dark_Avenger:
kokotas,

another problem with partition sizes in Backup page. I created a sdext2 partition which is currently empty (TWRP File manager shows no files), but in Backup page it shows as 34 MB. It's the same with sd-ext if I wipe it. Have no idea from where these 34 MB come. Doing a backup of these empty sd-ext/sdext2 partitions make empty backup win files. That's why I think that this is another problem with size calculation.

Strange.... recovery log shows that sdext2 has 34MB used space on empty partition:

/sdext2 | /dev/block/mmcblk0p3 | Size: 1922MB Used: 34MB Free: 1887MB Backup Size: 34MB
Flags: Can_Be_Wiped Wipe_During_Factory_Reset Wipe_Available_in_GUI Removable IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Alternate_Block_Device: /dev/block/mmcblk0
Display_Name: SDExt2
Backup_Path: /sdext2
Backup_Name: sdext2
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

P.S. Maybe this is not an issue at all - ext4 file system reserved space or something.
[HD2 Android NAND Development] NYLimited:
Yes, obviously, but why? :)

Unfortunately the log seems to be open or something - all I keep getting is a zero byte file.

This may also offer a small hint - there are a number of things that will "hang" twrp rev 9 displaying the progress bar and just sitting there for ever till the battery is pulled. :(

​

@MarkAtHome

Can you try getting the log?

Maybe you can figure out what I did wrong and get it done...
[HD2 Android NAND Development] kokotas:
I think so too, cause the size of that partition is reported directly via statfs.

I've re-written a lot of the code(that I previously added for the new features), especially the functions that get the sizes and I've changed the fstab file so that sdcard will be processed first.

I really can't say without a log, but maybe that could be one part of the problem.

Anyway, here is an attempt to fix it:

Probably fixed the error during "Fix-Permissions" when DataOnExt is used.

Reverted changes in fstab as an attempt to fix weird sdcard issues.

Regards!

PS: If this is working OK for everyone, I'll upload the SD Version too.

PPS: md5 = a7c9c21f36989e8b5422d32d4e6e65e6
[HD2 Android NAND Development] NYLimited:
Do you have journaling turned on? The journal requires (reserves) space as well if I am not mistaken...

​

Hate to put you through all that but ..

Anyway, downloading new version and will advise as soon as I can (takes longer to do this in a moving car)

As I mentioned there were some other issues (freezing at the end of various routines, such as flashing a zip, copying a file, etc.)

I have no idea if related so it probably does not pay to look for them just yet.
[HD2 Android NAND Development] shanman-2:
Affirmative, working fine now.

Thank again for all your efforts..

Edit: File manager does not seem to be mounting /sd-ext , shows it as empty!

When i manually mount sd-ext it then shows correct contents.
[HD2 Android NAND Development] NYLimited:
Sorry, rev 10 has the same problems. :(

No change at all that I can see.

TWRP freezes when the flash zip file is completed but removing the battery and restarting confirms that rev 10 was indeed installed just fine.

Hey, I pulled the battery more times in the last 24 hours than in the last 6 months! :D :D :D

Going to advanced / File manager I can see the log file but cannot do anything with it this way either. Incidentally, the file manager can see the sdcard just fine but it too fails to copy the (seemingly open exclusive) recovery.log file.

This is another area that yields a freeze. Once in the file manager trying to do anything with the file will lock the app - mostly. I say mostly because pressing the back arrow does turn on the highlight indicating it was pressed but nothing else will happen till the battery is removed.

Would the log remain someplace *after* a reboot?
[HD2 Android NAND Development] Dark_Avenger:
ny_limited,

are you on magloader? MarkAtHome is on magloader too. I'm on cLK and I don't have any problems.
[HD2 Android NAND Development] shanman-2:
Just a thought about these weird issues people are having, the size of the recovery image is perilously close to 6mb, maybe the partition size needs to be increased to 7mb!

My recovery partition is set to 7mb and I have none of these weird issues!
[HD2 Android NAND Development] NYLimited:
Yes, that seems to be a common factor. I couldn't begin to guess how many on each..

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] kokotas:
Yes. Look inside /cache.

static const char *LOG_FILE = "/cache/recovery/log";
static const char *LAST_LOG_FILE = "/cache/recovery/last_log";

Does any other MAGLDR user have the same problem like ny_limited & MarkAtHome?

I can make one last attempt for tonight if you feel like trying one more time.
[HD2 Android NAND Development] NYLimited:
Good theory but mine is 10 MB.

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] shanman-2:
Ah well!
[HD2 Android NAND Development] NYLimited:
Sometimes a long red light is good! :D

Try this one although it looks incomplete to me;

http://db.tt/XVCFej96

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] kokotas:
Ok then. Next red light... you'll probably end up removing your battery one more time but now we can get a log file to check.

You were right about the log you pulled. It was incomplete. But I can't locate the exact function that caused this crash. That's why I've added more logging output in the attached version.
[HD2 Android NAND Development] Farshlufen:
Yes, I am using Magldr and I do have the exact same problem.
[HD2 Android NAND Development] NYLimited:
You seem to have no problem mounting /system.. Maybe we should put the log there during development. Of course, if the code hangs the file will remain incomplete unless you flush it after each write or close a deserted reopen to make sure the text remains.. Don't mind me - just thinking out loud.

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] MarkAtHome:
Is there support for more than one theme choice in the theme folder, and if so, how might one be chosen (via TWRP)?

____________________

Sent from my HD2 JB-CM10 with XDA Premium

---------- Post added at 07:56 PM ---------- Previous post was at 07:42 PM ----------

I don't think that is the case - - my recovery partition is 10 or 20M (NAND storage, at 1G, is virtually) empty. ;)

____________________

Sent from my HD2 JB-CM10 with XDA Premium
[HD2 Android NAND Development] NYLimited:
Oh no! The light is about to change! :D

I don't know if this will help either but give it a go. I can only salvage last_log on the road. It is the only one I can find. I ran twrp several times to try and get a decent one.

http://db.tt/XVCFej96

---

Why do psychics have to ask you for your name? (via Tapatalk)
[HD2 Android NAND Development] MarkAtHome:
I downloaded v11, but haven’t looked at it yet.

You are certainly working your ass off, kokotas, and I, sincerely, appreciate your efforts.

But (yeah, I know... sorry)... for me, all I am looking for is a stable port of whatever the

current

, official TWRP version is.

TWRP-Extended is an awesome project, but for me, it would be a great option to have over and above. Please don't smack me too hard.
[HD2 Android NAND Development] Dark_Avenger:
Unfortunately, no... There is no UI to choose the theme...
[HD2 Android NAND Development] NYLimited:
Okay, everyone, here's your morning news clip!

This one is MarkAtHome when Kokotas first wakes up:

This one is MarkAtHome when Kokotas finishes with him:

And this one is MarkAtHome later today (at home):
[HD2 Android NAND Development] petbede:
Well said ny_limited
[HD2 Android NAND Development] Drew99:
arif-ali

is it possible to make "call" (green button) as confirm button (very unusual press red "end call" to confirm action)
[HD2 Android NAND Development] arif-ali:
you need to reflash magldr, search the forum, and you should find the answer
[HD2 Android NAND Development] dude0316:
Sd-ext restored fine for me. Running Runnymead sense 3.5 eu version which uses sd- ext. Cheers

Edit I could not choose the Sd-ext but it did restore it on a full backup and restore.
[HD2 Android NAND Development] arif-ali:
it's been added in the feature request on post 3, hopefully next couple of days. When i have time to fix the bugs as well that people post
[HD2 Android NAND Development] arif-ali:
OK, uploaded new release with the call button for selection, see OP for link

version 1.1.0-2
[HD2 Android NAND Development] tobiascrystal:
When I click on the link to download it brings me to http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-1.1.0-2.img

And all I see is crazy characters from top to bottom. Does this only work from a computer?
[HD2 Android NAND Development] arif-ali:
nvm, .......
[HD2 Android NAND Development] codiak:
Dont try to open it with the browser. Save it instead ;)
[HD2 Android NAND Development] haysnamrip:
yay!! i finally managed to flash twrp v1.1.0-2 with successfully.. :D
[HD2 Android NAND Development] parker09:
Just a quick question, what does this recovery offer over say CWM? Like the compression is one feature.
[HD2 Android NAND Development] TheATHEiST:
Hi chaps, Sorry to ask this but I have never used adb before.

Can you recommend any link to get me started off with adb and installing this, Would love to try it out.

Also it says download to system, where would that be,device or folder on windows after installing sdk?

Sorry if this sounds a bit n00bish but never got round to or needed to use adb until now ;)
[HD2 Android NAND Development] siddharth singh:
U USING MAGLDR OR CLK??
[HD2 Android NAND Development] T-Macgnolia:
Hey TheATHEiST, maybe this sight might help you get started, it has helped me get started even though I already had Android SDK installed and set up. Oh yeah i think "download to system" means system on your computer because you have to use ADB to push it to your device.

Now back to the TWRP, I just down loaded it and will be flashing it shortly. I will post back here with my findings after putting it through some test. Well will the development on the HD2 stop? ha ha ha ha :p
[HD2 Android NAND Development] SlyRder83:
Download the file from OP, and place on root of sdcard then Type this in terminal emulater if your ROM supports it!

$ su

# flash_image recovery /sdcard/name_of_recovery_file.img

Were it says name of recovery you change it to whatever the .img file is named
[HD2 Android NAND Development] LENINred:
What are the main differences from the cwm
[HD2 Android NAND Development] arif-ali:
If you look through the changelogs, you'll see some differences

Main things

* change recovery settings on the fly

* select multiple zips to flash within the recovery

* theming

* prob more ...

This is also the basis for their upcoming v2 which will be touch screen

Plus, it gives users an alternative
[HD2 Android NAND Development] Richy99:
i tried this but ended up going back to CWM

problems i found were that a full wipe/reset wasnt deleting the contents of the sd-ext partition

restoring a backup seem to fail - but this could just been an issue with my device/backup - as there is no options to do a full backup., or i couldnt find that option

some of the words used like backup nowz is a bit hackerish (yes im aware the mod is a hack) for a mod like this, just my opinion - not that this affects the mod, as it doesnt, just saying
[HD2 Android NAND Development] arif-ali:
Thx for your comments.

This was ported (at request), and I didnt do any extensive testing.

I will have a look at the issues and the texts, and will try to amend

Edit:

Here's a link for more information wrt twrp

http://www.androidcentral.com/first-look-teamwin-recovery-project-twrp-20
[HD2 Android NAND Development] Richy99:
ill help all i can with regards to testing, and its greaat you have ported it across, more choice the better!

i really do like the ability to flash multiple zips in 1 go