yashsingh1/xdaforums huggingface dataset:
[Android General] charlestek:
Well I understand that on the tablet it is ext4, but when spft downloads it to the PC, I think the file is broken into NTFS clusters to be stored on disk.

I would think it depends on the program opening the file to reconstitute it as it sees fit.

Ok, I will try photorec with the command line parameters as you specified shortly for the heck of it.

---------- Post added at 02:14 AM ---------- Previous post was at 01:38 AM ----------

I was running photorec, but it took awhile to look up how to set the destination directory which is pretty poorly intuitive even for dos:

http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step#Select_where_recovered_files_should_be_written

However running the command line parameter for the input file somehow does not give you the default screen to select which type of file (extension) you want to recover, so the thing was recovering like 8,000 files before I stopped it on purpose. Have to try it again to see if I get the file type selector screen.

But for a photo recoverer, why is it like recovering sqlite etc. files, jeez....

Per http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step#Source_partition_selection

You have to move the cursor to select file opt at the very bottom of the screen when you select the partition at the very beginning, which I missed twice. Ok, the Dos font in Win 10 is 8 points.
[Android General] nannycrick:
Tzul... I shared the link to the Windows 10 drivers & install tutorial with the folks over at Easy Magic TWRP Installer. They were having trouble getting it to work. Those drivers are the key to fixing & tweaking these MTK devices! I told them to send their thanks your way!
[Android General] charlestek:
Is it really "Easy Magic" ????????????????

P.S.

Never accidentally delete a precious photo on any of your android devices. Like the one of your son when he was 8 months old.
[Android General] nannycrick:
For me....it worked on the A8 and the Sammy n9106 clone. The clone took the install after rooting with Kingroot. The A8 was rooted first, then run thru MTK Droid Tools to make a CWM recovery. Rebooted, then Easy Magic ran without error. Don't know why it worked out that way but it did. I had trouble using SPFT to flash the TWRP I found for it. Error= too large for the partition. Flashify certainly wouldn't flash it!

The real Magic is.... A properly installed driver for the version of Windows you're running! One driver to rule..... everything!

The main reason I use ES File Explorer.......THE RECYCLE BIN !
[Android General] charlestek:
PhotoRec_Win did not recover deleted image

PhotoRec found 489 files in the userdata. It did not find or recover at all the 3 deleted photos (Recuva found two other photos I previously deleted besides the one I accidentally deleted today). I looked via the Android File explorer and indeed the photos are being stored on the internal storage. There are none on external storage, unless the OS is fooling the file explorer.

So I do recommend the free Recuva program for Windows.

PhotoRec did however show me that Amazon Kindle leaves a lot of cached jpgs sitting around as well as Hulu.
[Android General] Old faithful:
I gather that's a pun on the restore process whereby the first letter of the name of the file is removed in the deletion process and you are asked to fill in the missing letter? ;)

Amazing, how did you manage that? It's supposed to be impossible to connect the internal memory while the tablet is on! Or is that a hidden feature of MTP?

DO EXPLAIN!

Great!!! BTW Testdisk/ Photorec works similarly, as long as it can see the storage medium... Not the easiest program to use... But it has the advantage of being able to recover fractions of files, much more than Recuva, I was able to recover years old images with it, even partially overwritten ones on reformatted sd cards, they look like half downloaded or sometimes scrambled like a giant 4 piece jigsaw puzzle ;)

---------- Post added at 00:36 ---------- Previous post was at 00:30 ----------

In my experience it is THE gold standard for file recovery, not only for pictures... IIRC, the programmer is French, that can explain some of its peculiarities... ;) I do agree it is not easy to use, but it's well worth learning!
[Android General] charlestek:
No, it is developers can't spell or type when they make a webpage: "www.recovery-android.com/pictures-

tored

-on-android.html"

Actually you indeed can, some parts of the OS are disabled when you do so and the external storage is unmounted. Oddly when you plug the cable in (usb debugging enabled)

the screen goes to Mr. Android where he asks you if you want to enable Usb file sharing. However if you connect the usb cable to the tablet when it is off, you get a selection somewhere that allows you to connect in MTP mode or the ? other mode, but only when the tablet is off.

Or is that a hidden feature of MTP? -- You'll have to ask Tzul about MTP, I have no techncial clue what it is or how it works.

DO EXPLAIN!

I wasted 4 hours with the user experience usabililty logic of the dos program being horrible and inconsistent and remembering old settings that you don't want even when you start the program from the scratch executable. I would throw it in the wastebin. You're having some warm and fuzzy affliation from old memories of how crappy dos line command programs could be terrible. We distort memories when we pull them out of the past, we somehow forget the ulcers and heartburn.

Now, mind you both, I am not dissing Tzul for suggesting it to me, nor you. I greatly appreciate the help from Tzul and you as well as everyone else.

And I did use TestDisk like 8-10 years ago to fix something that it did fix. But I'm sorry, when you have to move the cursor to ... to go ../ and then you have to reselect .. over and over to get to root to see all your 8 partitions and drives and then when you choose an output directory you have to cursor down 30 directories to get on the directory then hit enter to get into the directory first then type a magic letter to select it, cmon,

The programmer is laughing because he is making masochists of his followers.

Gave me angina trying to get it to run. After all that it did not recover my file at all.

Recuva is the way to go.

Professional Recuva is probably better for $25.

If this is the gold standard, then value of gold has dropped below bird poop.

http://lifehacker.com/5237503/five-best-free-data-recovery-tools

BUT all this pales in comparison to Android not having an inherit dialog, like "Are you sure you want to delete this file until the sun supernovas?"

Or at least a disclaimer in the manual. Deleting files is permanent and cannot be reversed without consulting 5 xda programmers.
[Android General] nannycrick:
charlestek..... that's exactly why we have XDA forums..... so we CAN ask 5 xda programmers for advice...... all at once if needed !
[Android General] charlestek:
Yes, we indeed are fortunate with all the android experts on this forum.

But photorec drove me really crazy, after wasting all that time to get the settings right and have it run, and it taking hours to scan and not finding the pictures, I cannot recommend it. It also uses prior option settings that you no longer want, even after you tell it explicitly not to use the previous profile, which is important since it can take forever to set the output directory since you have to go up and down the dos directory tree cursor line by line with the arrow key and use ../ repeatedly to traverse upwards.

on the 2 drives and 5 partitions I have.

Sorry about all the b*tch*g.

It does have a lot of options for unusual use cases, but truly I spent way too many hours messing with it. I should see if I can do a back to back comparison with recuva trying to recover from the userdata file.

But wait! I erased the userdata file with shift delete on my desktop machine yesterday. But no, I'm not going to try to recover the userdata file..... though frankly it would be faster to recover it if it hasn't been overwritten then wait for SPFT to extract it on the slow serial line.

Recuva is a modern app with full Os processing power.
[Android General] nannycrick:
If you learned something...then the time wasn't wasted.

Knowledge comes from a book....

Wisdom comes from life experience!
[Android General] charlestek:
Thanks. I'm having daily pain and swelling from a 2nd (revised) knee replacement on the same side in two years, so sitting a long time and messing with software that is more than irritating is too much.

We now know I have one metal allergy that might be part of this mess, but the surgeon I have doesn't care and has left me rotting.
[Android General] nannycrick:
I hope your knee gets better quick buddy. I recommend a foot rest under your desk, or a small pillow under your knee, to alleviate strain. It works for me! I've have bad knees since my days as a data processor! Good luck buddy!
[Android General] charlestek:
I have a knee implant that was put in last August that is a failure, it just doesn't heal by itself. It appears that I may be allergic to the metal in the implant, sort of like rejecting an organ transplant, but on a low scale. Enough such that it can't heal because of it.
[Android General] cheryanne:
That sounds appalling.
[Android General] nannycrick:
Damn! There's got to be a solution that will work for you!

I think lower extremity issues may be one of the hazards of being a geek....

Getting bad eyesight, premature degradation of hips, knees, etc, all from trying to expand our knowledge of gadgets!

Makes you wonder how Bill Gates' knees are?!

---------- Post added at 04:44 AM ---------- Previous post was at 04:36 AM ----------

While I'm enjoying my new baby, I was able to pick up another project.... another RCA Pro II tablet (rct6203w46) that was bootlooping after the last update! I bought it for $10. Thank heaven I still have the firmware for it in my pc! Here I go again!
[Android General] dirlan2001:
That even works on Linux OOTB

Cheers
[Android General] tpeyron:
[UPDATE] How to root the Lenovo A7600F

Hi everyone,

I've been trying all sort of techniques to root and install a custom recovery, and I finally found something that worked on my Lenofo A7600-F (Wifi only). What is said at the beginning of the post hadn't worked for me.

Here is the link I used : vrdigitalworld.com/computers/rooter-une-tablette-lenovo-a10-70-a7600f?lang=en

(Given that I'm new on this forum, I can't submit external link, sorry)

Still, I'm trying to found any interresting custom ROMs, but it looks like difficult.

Cheers,
[Android General] clsA:
after comparing the files in the link you posted you seem to have the Tab 1 a different Tablet than us (Tab 2 A10-70F)

be very careful using anything posted in this thread as its not the same partition structure.

example from your scatter text

Yours :
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.1
platform:[COLOR="Blue"] MT6582[/COLOR]
project: lvp9_row_wifionly
storage: EMMC
boot_channel: MSDC_0
block_size: 0x20000

Are's:
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.2
platform: [COLOR="Red"]MT6752[/COLOR]
project: huaqin8752_tb_b2d_kk
storage: EMMC
boot_channel: MSDC_0
block_size: 0x20000

Recovery:
Yours :

- partition_index: [COLOR="Blue"]SYS10[/COLOR]
partition_name: RECOVERY
file_name: recovery.img
is_download: true
type: NORMAL_ROM
[COLOR="Blue"] linear_start_addr: 0x4180000
physical_start_addr: 0x2d80000[/COLOR]
partition_size: 0x1000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

Are's:
- partition_index: [COLOR="Red"]SYS11[/COLOR]
partition_name: recovery
file_name: recovery.img
is_download: true
type: NORMAL_ROM
[COLOR="Red"]linear_start_addr: 0x2f20000
physical_start_addr: 0x2f20000[/COLOR]
partition_size: 0x1000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00
[Android General] tpeyron:
Dear clsA,

Thank you for your post. You must be right, since I am just a beginner here, but I can assure you I have the Lenovo a7600f, released in 2015... Maybe the post I've written works also for that one :confused:

Cheers,
[Android General] nannycrick:
Okay buddies .....got one problem....

Can't generate a scatter file for the a8-5500f using MTK DroidTools. The button that says .. Create Scatter isn't highlighted.

I'm on build A5500_442_000_029_150408_ROW.

MT6582 chipset family... (MT8121 as SPFT lists it)

I have downloaded A5500_442_000_013_140526_ROW from AndroidMTK as a possible "rescue" backup.

The scatter.txt won't work in SPFT saying..."PMT error". The build is different?!?

Can't find my build anywhere on the net. It was an update. Is there any way to generate a scatter for my current build, that I haven't used yet?

I'm not currently in need of it but....one never knows!

Found my own info....the update was only an "incremental" one with a patch, not a full rom.

At least I have the original firmware downloaded.

Also found a Lollipop rom for a sister device...the A8-5500H. Don't know if it can be ported, but it would be nice!
[Android General] nannycrick:
ROOT & Recovery for A7600F

You had better luck than I did. There are interesting roms on....

http://www.mtkroms.com/. Good luck!
[Android General] Old faithful:
Like clsa said, the a7600F is the previous version, a completely different machine, so you will definitely need different ROM update files and custom recoveries. Nevertheless, there are a lot of talented people here, you'll learn a lot as long as you keep in mind you will need to hunt the files specific to your device.
[Android General] tpeyron:
Well, thank you all, I will to keep it mind :)

Just to make it clear, a7600f is different from the a10-70f ? Because I thought they were the same.
[Android General] Tzul:
These chips are not the same. The MtkDroidTool does not work anymore with newer chips.

There are several ways to manually create a scatter file. You could compare the one you downloaded with the output of "fastboot getvar all", for example (gotta boot into fastboot mode first, of course).

This thread is about the Lenovo TAB 2 A10-70. "Tab 2" being the key.

Your tablet is the Lenovo A10-70 A7600-F, sometimes called "IdeaTab" or just "TAB". It is the predecessor and has different hardware!
[Android General] bigrammy:
What [MENTION=5919159]Tzul[/MENTION] says and also try

adb shell

cat /proc/dumchar_info

The output should look something like this.

Part_Name Size StartAddr Type MapTo
preloader 0x0000000000040000 0x0000000000000000 2 /dev/misc-sd
dsp_bl 0x00000000005c0000 0x0000000000040000 2 /dev/misc-sd
mbr 0x0000000000004000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x0000000000004000 0x0000000000004000 2 /dev/block/mmcblk0p1
pmt 0x0000000000400000 0x0000000000008000 2 /dev/block/mmcblk0
nvram 0x0000000000500000 0x0000000000408000 2 /dev/block/mmcblk0
seccfg 0x0000000000020000 0x0000000000908000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000000928000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x0000000000988000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000000f88000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x0000000001588000 2 /dev/block/mmcblk0p2
misc 0x0000000000060000 0x0000000001b88000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000001be8000 2 /dev/block/mmcblk0
expdb 0x0000000000200000 0x0000000001ee8000 2 /dev/block/mmcblk0
android 0x0000000020100000 0x00000000020e8000 2 /dev/block/mmcblk0p3
cache 0x0000000020100000 0x00000000221e8000 2 /dev/block/mmcblk0p4
usrdata 0x0000000020100000 0x00000000422e8000 2 /dev/block/mmcblk0p5
fat 0x00000000854f8000 0x00000000623e8000 2 /dev/block/mmcblk0p6
bmtpool 0x0000000001500000 0x00000000ff9f00a8 2 /dev/block/mmcblk0
[Android General] nannycrick:
Thanks Tzul & Bigrammy! That helped! The info on Lenovo tablets is SO scattered! Even for my little baby, it's a painful search for good tidbits!
[Android General] Old faithful:
Indeed - the Lenovo Tablets appear to be a well guarded secret. They offer astounding value, are excellent hardware-wise and no-nonsense software-wise and are a pleasure to to use. But it really should come as no surprise coming from Lenovo, one of the longest established portable computing hardware manufacturers. Although I've owned laptops from several other brands over the years, I've never had but good experiences with their products .
[Android General] loner.:
You didn't do the second lollipop update then, check you may see another.

Sent from my Lenovo TAB 2 A10-70F

---------- Post added at 10:45 PM ---------- Previous post was at 10:43 PM ----------

Sounds like they snuk in an update to the bootloader.

Sent from my Lenovo TAB 2 A10-70F
[Android General] Tzul:
That would only be relevant if you were using Android apps such as Rashr for installing TWRP.

If you install it via fastboot or the SPFT, then it doesn't require root and won't be "denied".

The SPFT is rather oldschool, by the way. It's been around for years. Only for MediaTek devices, of course.

And of course you must immediately boot into TWRP after flashing it. Because if you flash it and then boot Android, the install-recovery.sh script of Android will simply overwrite TWRP with the stock recovery again. Booting TWRP and installing SuperSU will disable that.

It's not the bootloader or anything, it's you who's doing something incorrectly here.
[Android General] loner.:
Your right when I used SPFT it was successful but when I went to boot the recovery it went and rebooted to system instead although I had recover selected.

Sent from my Lenovo TAB 2 A10-70F

---------- Post added at 10:54 PM ---------- Previous post was at 10:52 PM ----------

I can try again, but what can I do if I select recovery and it reboots to system anyway?

Sent from my Lenovo TAB 2 A10-70F
[Android General] Tzul:
Can you boot into the stock recovery? Do you really have Android 5 installed?

If the answer to both of these is yes, and the Android 5 version of TWRP doesn't work for you, then there's something fishy with your tablet. Try flashing and booting the Android 4 version of TWRP then.

Or fully flash your tablet with the latest firmware that [MENTION=2895182]clsA[/MENTION] and I released.
[Android General] suhridkhan:
why don't you share a picture of twrp on your tablet with us, so that we can have some idea on what's going on...?
[Android General] CaptJager:
He did the same thing I did didn't click location that is what happened to me
[Android General] loner.:
I know this isn't twrp but it said flashed 100% but...

View attachment 3617117

Sent from my P01MA
[Android General] CaptJager:
You didn't click on the location column in recovery row and put in the TWRP file in the download when in so flash tools I did the same thing but did you get the green thumbs up?
[Android General] loner.:
Yes. I flashed again just now brought it up to the bootloader choose recovery and it booted system again instead.

---------- Post added 21-01-2016 at 12:09 AM ---------- Previous post was 20-01-2016 at 11:53 PM ----------

That may very well have been the problem, I deleted all the old files/program and downloaded them again, careful to take your advise and it worked! I now have the proper twrp and I am rooted. Thanks everyone.

Sent from my Lenovo TAB 2 A10-70F
[Android General] TommyG831:
Thanks

This post is really straightforward. Had TWRP and root on in just a few minutes. Thanks again!
[Android General] loner.:
After I achieved root status, getting rid of bloatware is so easy with TitaniumBackup PRO which is IMHO one of the best apps on the planet. Don't you just love it when the devices manufacturer want to dictate what apps/spyware you should have, lol.

Sent from my Lenovo TAB 2 A10-70F

---------- Post added at 04:01 PM ---------- Previous post was at 03:44 PM ----------

At first I thought that SPFT was something new. I have been addicted to Android devices from the beginning and usually used fastboot and adb for flashing and pushing but this is my first Media Tek device. Most of the devices I use have Nvidia or Intel. Glad I learned something new, it helps keep things interesting.

Sent from my Lenovo TAB 2 A10-70F
[Android General] Tzul:
Hello, lion567!

I've just read about that issue on 4pda. I don't know what could be causing it. Have you compared the contents of the backups? The ext4 partitions are backed up to tar files, as far as I know, so you could list and compare the contained filenames. Would be interesting to know if there's a pattern.

I'm using Android 5, as are most people here, I think (except for [MENTION=1454767]Old faithful[/MENTION]). The Android 4 version of TWRP is therefore not well tested.

I'll look into it when I find the time
[Android General] lion567:
Yes, *.ext4.win00* backup files are simply multi volume tar or tar.gz (depends on enable compression option). I've compared contents of three backup sets - first backup (several partitions with system and data) missed a lot of files and folders. I don't see any pattern it seems that tar added files to archive and then stopped for some unknown reason. The same picture in recovery.log from first backup - backup of data and system finished incomplete without any error.

Did you set MAX_ARCHIVE_SIZE variable, when compiled 32-bit variant? It define at which backup size (uncomressed) TWRP should start with next backup volume.
[Android General] supersonic835:
thanks for this. I plan on rooting my tablet soon.
[Android General] Tzul:
[MENTION=5469284]lion567[/MENTION] I just switched back to Android 4.4.4 on my Tab 2 A10-70F, and I cannot reproduce the problem.

I used the current 32 bit TWRP for Android 4, made a full backup of all partitions. Then I rebooted and made a backup of /system only. The result was identical!

I had compression enabled in TWRP, no MD5 generation. Were your examples without compression?

Oh, and I also kept the newer preloader and bootloader (LK) from Android 5. I can imagine that the LK might make a difference.

I also couldn't reproduce the wrong time and date that bzfox told me about. TWRP showed the correct values and the backup folder had the correct time and date.
[Android General] Tzul:
I updated my post about AAL a bit and created a patch for disabling the Android 4.4 version of AAL.
[Android General] lion567:
No, compression was enabled for all backup attempts, I've mentioned. But MD5 generation was enabled in my case.

Does your /system only backup consists of more than one volume (system.ext4.win000, system.ext4.win001, etc)?

As for me, TWRP got wrong time and data only after I've flash something via SP FlashTool. I think its not a TWRP issue - it seems that SP FlashTool resets internal device clock or reset occured when device switch to/off the preloader flashable mode.
[Android General] Tzul:
I could reproduce the error several times now.

When archiving /system or /data, TWRP counts up the file numbers on screen, and I saw how it just prematurely finished before reaching the last file number. Without displaying an error message.

My /system partition has 1823 files, for example, but TWRP finished after 1541. The latter number is then also stated in the system.info file that TWRP creates in the backup folder. This happens with and without compression.

I haven't tried to find the cause yet.

Yes, that matches my experience.
[Android General] Old faithful:
OK so this may sound dumb but this has been irritating me ever since I got this tablet and I haven't figured out how to get rid of it: the dialog box "Warning! Application has been moved completed" whenever I turn the device on, among other instances (when I disconnect from USB Mass Storage on the device). I sure wish I could simply turn it off, it's an unnecessary nuisance.

KitKat 4.4.4 and External SD Card

Any ideas?