yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] trillwizzard:
ALL DONE BROTHER ROOTED AND TWRP WORKs

your awesome brother i really appreciate it man

i can upload the recovery i made for anyone else that may be using the same partition scheme as me would that be useful? ill post in on my google drive and you can put it up on the op if youd like

---------- Post added at 07:36 AM ---------- Previous post was at 07:34 AM ----------

https://drive.google.com/open?id=0B8eaXcAszcpiQ1kzUkM0SE5fSlE
[Miscellaneous Android Development] NepoRood:
Good deal, and I will do that soon. Now you can head over to my TWRP Theme Thread and see if there's a theme you like other than the stock one.

Since the firmware has been updated, I may do another download of it and check it out for myself.
[Miscellaneous Android Development] trillwizzard:
DISREGARD THE FIRST .FSTAB This is the proper one extracted from stock Recovery

# Android fstab file.

#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>

# The filesystem that contains the filesystem checker binary (typically /system) cannot

# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/by-name/bootloader /bootloader vfat defaults defaults

/dev/block/by-name/env /env emmc defaults defaults

/dev/block/by-name/boot /boot emmc defaults defaults

/dev/block/by-name/system /system ext4 defaults defaults

/dev/block/by-name/UDISK /data ext4 defaults defaults

/dev/block/by-name/misc /misc emmc defaults defaults

/dev/block/by-name/recovery /recovery emmc defaults defaults

/dev/block/by-name/cache /cache ext4 defaults defaults

/dev/block/mmcblk1p1 /extsd vfat defaults defaults

/dev/block/mmcblk1 /extsd vfat defaults defaults

/dev/block/mmcblk0p1 /extsd vfat defaults defaults

/dev/block/mmcblk0 /extsd vfat defaults defaults

/dev/block/sda1 /usbhost vfat defaults defaults

/dev/block/sda /usbhost vfat defaults

---------- Post added at 09:05 AM ---------- Previous post was at 08:40 AM ----------

IT is however the oem recovery.fstab for my tab apparently
[Miscellaneous Android Development] Lodotux:
Hi guys ! I just received my own dragon touch and this is the only thread i could find about it, so i was wondering if you could answer some questions for me ?

Envoyé de mon KIW-L21 en utilisant Tapatalk
[Miscellaneous Android Development] MSF Jarvis:
Nepo is out on the road with family so I'll help however much I can. If there's too many questions then please PM me for my email and we shall talk over Hangouts rather than spamming the board here.
[Miscellaneous Android Development] NepoRood:
I'm still around, family all sleeping :good: I don't have my X10 with me, but I may be able to help with any questions...
[Miscellaneous Android Development] Lodotux:
Nice ! Well I just bought this on amazon, got it yesterday and still testing for now.

First, i deleted the clock on the home page and can't find à widget section to bring it back. Next, it asked me for improving positioning, but i can't recall reading something about à gps in this thing, so do you, by any chance, know if there is one inside ?

And last, for know, do you know where i can find more about the specs of this thing ?

I think I'll better install a custom launcher instead of dreaming about custom ROM for this ?

Envoyé de mon KIW-L21 en utilisant Tapatalk

---------- Post added at 11:56 AM ---------- Previous post was at 11:54 AM ----------

And BTW, guys thanks for helping :)

Envoyé de mon KIW-L21 en utilisant Tapatalk
[Miscellaneous Android Development] NepoRood:
I use Nova launcher on mine, but feel free to use your favorite. As for widgets, long press on the screen and a little menu will pop up at the bottom.

I also have a couple Xposed apps installed: APM+ and some kind of notification hider (can't remember which, there are a few to choose from) As for custom roms, it'll be a while (if ever) I'm just now getting into building roms, and I don't have a lot of device specific info on the X10.

When doing my research before purchase, I ran across this (<-- maybe it'll answer some of your questions about specs)

Regards,

Nepo
[Miscellaneous Android Development] Lodotux:
OK thanks Nepo for you reply. I tried the long press on the screen, but the only menu that came up was for wallpaper.

Just wondering, I've created a Google account for this tablet and Google play see it as à Sony xperia x10 ? Does it show the same device for yours ?

Envoyé de mon KIW-L21 en utilisant Tapatalk
[Miscellaneous Android Development] NepoRood:
As I said, I do have Nova, it's been a while since I had the stock launcher. So I'd say install your favorite launcher and then try the long press. As for the device name, lol, yes it does (Sony=Name Brand), I figure that's why, but really have no proof.
[Miscellaneous Android Development] Lodotux:
OK thanks. One last thing : I powered it off this morning, to charge it, it does'nt charge or at least really really slowly not sure but it might have got 1 or 2 % more in 3 hours ... Is my power supply faulty ? And can it be charges by usb câble ?

Envoyé de mon KIW-L21 en utilisant Tapatalk
[Miscellaneous Android Development] NepoRood:
May be a faulty cable, mine charges in about 4 hours or so. And yes, usb charging works. Give it a shot with your phone charger (if applicable), and compare the difference. If it charges faster with usb (or if it don't), contact customer support at Tablet Express.
[Miscellaneous Android Development] goope:
3G HSDPA USB modem

Greetings all.

Not sure where to post this so here it goes. Pls have it moved else where if not appropriate.

I've a cheaper 2GB OEM version of this tablet and would appreciate if someone can help with installing a 3G HSDPA USB modem. I'd like to use it to make voice cellular call and SMS.

Many thanks and best regards.
[Miscellaneous Android Development] NepoRood:
Sorry, but I wouldn't even know where to start with that
[Miscellaneous Android Development] Lodotux:
Hey ! Nepo, I'm confused, I asked you about widgets... Sometimes, my noob side just shows in full light lol... Widgets can be found in the app drawer of the base launcher, as in many launcher, I feel kinda stupid about this. Thanks for your help anyway !

Envoyé de mon KIW-L21 en utilisant Tapatalk
[Miscellaneous Android Development] GiantChicken:
I flashed it to a different 10.1 A83T tablet, looks fine but it does not recognize touch screen nor buttons are mapped :(

I made backup of original recovery, so I rolled back to it. Is there any way I can make this work on mine?

Cheers
[Miscellaneous Android Development] NepoRood:
Using adb on a running device:

adb shell

lsmod

This will list everything that's running on a working device. Post your results here, and I'll try to help you get it working.

Regards,

Nepo
[Miscellaneous Android Development] GiantChicken:
That would be awesome! This is what I got:

root@octopus-ibt:/ # lsmod
8723bs_vq0 1808355 0 - Live 0x00000000
gslX680new 3948885 0 - Live 0x00000000
bma250 7151 0 - Live 0x00000000
hall_och175 3890 0 - Live 0x00000000
rtl_bluesleep 3502 0 - Live 0x00000000
cdc_ether 3163 0 - Live 0x00000000
rtl8150 9023 0 - Live 0x00000000
mcs7830 5644 0 - Live 0x00000000
qf9700 5904 0 - Live 0x00000000
asix 13590 0 - Live 0x00000000
usbnet 14128 4 cdc_ether,mcs7830,qf9700,asix, Live 0x00000000
vfe_v4l2 1046362 0 - Live 0x00000000
sid130b 11372 0 - Live 0x00000000
siv121d 10702 0 - Live 0x00000000
gc5004 7874 0 - Live 0x00000000
sp2519 10705 0 - Live 0x00000000
ov5640 29624 0 - Live 0x00000000
ov5647 9342 0 - Live 0x00000000
gc0312 10431 0 - Live 0x00000000
gc0329 10390 0 - Live 0x00000000
gc2145d 12232 0 - Live 0x00000000
gc2145 12232 0 - Live 0x00000000
gc0328 10703 0 - Live 0x00000000
gc2035 12400 0 - Live 0x00000000
gc0308 10726 0 - Live 0x00000000
ad5820_act 4578 0 - Live 0x00000000
vfe_subdev 4691 14 vfe_v4l2,sid130b,siv121d,gc5004,sp2519,ov5640,ov5647,gc0312,g
c0329,gc2145d,gc2145,gc0328,gc2035,gc0308, Live 0x00000000
vfe_os 4113 2 vfe_v4l2,vfe_subdev, Live 0x00000000
actuator 944 1 ad5820_act, Live 0x00000000
cci 22800 15 vfe_v4l2,sid130b,siv121d,gc5004,sp2519,ov5640,ov5647,gc0312,gc0329,
gc2145d,gc2145,gc0328,gc2035,gc0308,ad5820_act, Live 0x00000000
videobuf_dma_contig 4165 1 vfe_v4l2, Live 0x00000000
videobuf_core 16528 2 vfe_v4l2,videobuf_dma_contig, Live 0x00000000
pvrsrvkm 281691 61 - Live 0x00000000 (O)
hdmi 39553 0 - Live 0x00000000
disp 1088256 6 hdmi, Live 0x00000000
sunxi_tr 9268 2 - Live 0x00000000
sw_device 15256 1 gslX680new, Live 0x00000000
nand 299871 0 - Live 0x00000000 (O)
root@octopus-ibt:/ #

:fingers-crossed:
[Miscellaneous Android Development] NepoRood:
Much like the X10, using a root file explorer (such as ES), go to: /vendor/modules

Look for any "ko" file(s) that have "_ts.ko" in the name, here's what the X10 has:

ft5x_ts.ko
gt9xxf_ts.ko <-- X10 uses this
gt9xxnew_ts.ko

Let me know what you find out, and we can proceed :good:
[Miscellaneous Android Development] GiantChicken:
It has exactly the same 3 files ending in "_ts.ko"
[Miscellaneous Android Development] NepoRood:
Why there are 3 drivers for the touch screen, I don't know, lol.

So here's what you do next:

Unpack TWRP using CIK, go into ramdisk folder and add the missing drivers. Repack, then flash to your device. Boot to recovery, then install the modules one at a time and see if touch works:

adb shell

insmod ft5x_ts.ko

# if that doesn't make it work:

insmod gt9xxnew_ts.ko

Hopefully one of them will make touch work :good:
[Miscellaneous Android Development] GiantChicken:
Ok, I think I did it correctly but just in case: I pasted the 3 _ts modules of my tablet into the ramdisk folder, repack, flash new .img. Boot into recovery, while in there installed 1 module, no touch still. Installed the other just after, no touch. Tried rebooting, but still no luck. It just feels so close...
[Miscellaneous Android Development] GiantChicken:
Good news! As the stock recovery had touchscreen, I unpacked it and copied all .ko modules into the TWRP (same name, but different size). Now it works smoothly!!

Many thanks, Nepo!
[Miscellaneous Android Development] NepoRood:
That's good to hear, glad I could be of assistance, and it's Awesome that you were able to take the "Next Step" on your own. :good:
[Miscellaneous Android Development] velocino:
ADB USB driver

Hi,, do you have the ADB usb drivers for this tablet Dragon touch x10m and if you do can you please share.

I've looked over the internet everywhere and couldnt find something that can be installed.

Cheers,

Dorin
[Miscellaneous Android Development] joeysr20det:
Hey guys. Good work on TWRP build, I'll be trying that shortly :)

I've been hacking at this tablet for quite a while now. As much as I'd like to have an Android 6 image, I've been mostly working at getting a fully working kernel setup. I've managed to build the sun-xi 3.4 kernel from Github (took quite a bit of tweaking to get a successful compile what's on Github seems a bit imcomplete) but have yet to get it working. I want a compilable kernel so that I can build the drivers for various WIFI dongles for use with Kali Linux that I have running in a Linux Deploy container on my tablet :)

I've managed to build the kernel, unpack the stock 4.4 image, insert my kernel, repack the image, and try it with a bootable SD card built with PhoenixCard software.

Anyway hoo, I believe I'm probably just missing the correct display drivers. It's been interesting attempting to understand the workings of this tablet :) I'm still working at it. Hopefully if I get some more time in the near future I can get back on it again. If anyone is interested, I'll be happy to share what I have, the steps I take, etc.

Cheers
[Miscellaneous Android Development] NepoRood:
I'd be interested.
[Miscellaneous Android Development] joeysr20det:
Sure thing man. Let me dig through my stuff; it's been a month or two. I'll toss together the steps I've followed and try to get them up here in the next few days....

It would be awesome to have a kernel we can compile on our own an inject into these images. I never was able to piece together the original kernel configuration because Tablet Express/AllWinnerTech of course didn't include the kernel config (as many vendors do) and additionally disabled the IKCONFIG flag when they built their kernel (thereby not letting the kernel config extractor tool grab the config). I wasn't able to come up with a config that matched the original so I couldn't built drivers against the kernel because the module symbol versions file was all out of whack.

I spoke to Tablet Express over 50 times on the phone with their real technical support people. Turns out they know nothing about their images. They simple unpack the image, replace the boot logo with their own, and then repack the image. AllWinnerTech and their manufacturer are the ones who actually build the images for them.

TE wasn't very interested in helping me achieve this. Once they finally understood what I was trying to do they refused to talk with me at all anymore. This of course made me even more interested :)
[Miscellaneous Android Development] NepoRood:
Probably more on Allwinner than TE, folks at TE are very helpful (in most cases). If they'd share the build info with us, we could probably crank out a new ROM/Kernel every week, lol :good:
[Miscellaneous Android Development] Lodotux:
I'll be waiting for you two to put things together, I don't have any skills in programming, but I'll be willing to test, so far you sound like you know what you're talking about :D

Envoyé de mon KIW-L21 en utilisant Tapatalk
[Miscellaneous Android Development] NepoRood:
I don't have any "skills" either, lol. But, I'm learning...
[Miscellaneous Android Development] Paxster:
[MENTION=7237874]NepoRood[/MENTION]

Many thanks;) After all this time lol.. You sust it.. the mmc Twrp version works a treat on Andriod V5 with the Adb Push command. Well done.. I thought I was going mad hehe.. I should have seen the problem myself ages ago . Good Work;)

Regards Paxster;) [MENTION=6552280]MSF Jarvis[/MENTION] See what ya mean. DONE.lol..
[Miscellaneous Android Development] MSF Jarvis:
Show him some more love and please remove the OP you quoted :)
[Miscellaneous Android Development] Franzferdinan51:
I love that you guys are working on this it's truly amazing because your work I decided against selling mine and keeping it solely because I'm going to use it to learn so I can make future ROMs right now the only thing I have access to is two tablets and a phone I don't think you can compile a ROM on those if you can I'm unaware and would love a point in the right direction also anyone have troubles with large lags and freezing on their tablet mine has did it since day one it works great after formatting it but then shortly after root it seems to lag and freezing I doubt it's from root but I've tried everything else
[Miscellaneous Android Development] NepoRood:
I've managed to find some old info on Github for some allwinner devices, one is kinda still under development, but its arm64. As for your devices, try looking on Github to see if you can find anything similar. May not help, but it's a good place to start.

I think I've managed a decent "vendor" tree for the X10, and am slowly working up the device tree, but it still has a long way to go. I need to set up some config files and unfortunately, I'm a bit lost on bringing up a new device from scratch, :(

Regards,

Nepo
[Miscellaneous Android Development] Paxster:
[MENTION=7237874]NepoRood[/MENTION] Any Chance of sorting out the KKat Version please for the mmc Partition;) It Flashed ok, but you cannot backup the Partitions HeHE.. Thought I would try.

Also I have noticed on V5 Android Twrp, you cannot backup to a SDCard?

Many Thanks Paxster;)
[Miscellaneous Android Development] NepoRood:
Sorry, probably not. All you have to do though, is crack open the TWRP image and change the recovery.fstab file located in the "etc" folder of the ramdisk. Then repack and flash it :good:
[Miscellaneous Android Development] amw2320:
Hey Nepo,

Thanks for putting this together. I am trying to get init.d up and running on the x10 and am running into issues with what I am assuming is write protection on the boot image. It looks like I am successfully copying my updated image, but it doesn't stick after a reboot, even if SElinux is disabled. Have you been able to flash a different boot.img?
[Miscellaneous Android Development] NepoRood:
I haven't tried anything like that. I've got a couple xposed apps installed and that's about it. I'll try to find the time to look into it though :good:
[Miscellaneous Android Development] amw2320:
Thanks again Nepo,

I was screwing around with this a few months ago trying to get TWRP installed. Now that you've got it working, I've gotten back to it and figured I would do a little writeup of what I have figured out so far for people who want to play around with developing.

Of the 3 main partitons (boot, recovery, system), boot is the only one that appears to be write protected. Any changes to the boot partition are overwritten after a reboot.

To get around write protection, I have found you can flash a custom firmware with an edited boot partition. To do that I've been using a few tools:

1. RedScorpio's imgrepacker to unpack and repack firmware images.

2. Carliv Image Kitchen to unpack and repack the boot and recovery images

3. android_img_repack_tools to unpack and repack system images

You can start by using imgrepacker to unpack the firmware image published by TabletExpress. This will give you a folder with a bunch of .fex files. Important ones are:

boot.fex -- This is your boot image. You can simply rename it to boot.img and unpack/repack it with Carliv Kitchen

config.fex -- This appears to be the kernel config file to start working on custom kernels -- On closer look, its a kernel config, but for an x86 system on kernel 4.7.0??

recovery.fex -- The recovery image. Again it can be renamed to boot.img and unpacked/repacked with Carliv Kitchen

system.fex -- The system image. This is a sparse ext4 partiton format. Unpack it with simg2img in android_img_repack_tools (e.g. simg2img system.fex system.img). The image can then be mounted and edited. When you are ready to repack it use ext2simg (e.g. ext2simg system.img system.fex). make_ext4fs and mkuserimg.sh did not seem to work for me.

Once your happy with your changes you can repack everything with imgrepacker and flash with PhoenixPro or LiveSuit.

Here is a basic image I made. It is the stock 5.1.1 V2 update with TWRP and SuperSU preinstalled. I used the NAND version of TWRP:

http://www.mediafire.com/download/3d2dbzl4465frhj/X10-V2-5.1-amw-TWRP_SuperSU.img
[Miscellaneous Android Development] NepoRood:
Thanks for that info [MENTION=2678971]amw2320[/MENTION]

I've managed to build BlissRoms and Dirty Unicorn (Both 6.0.1) for the X10 without getting build errors, but they won't boot. When I get home from work today, I'm going to start messing around with the tools you mentioned and see what I can come up with :good:

Regards,

Nepo

PS, If you use Google Hangouts, PM me your email address and we can discuss and work on this together.
[Miscellaneous Android Development] MSF Jarvis:
[MENTION=7237874]NepoRood[/MENTION] please add me to the hangout as well, I'll be willing to be of help :)
[Miscellaneous Android Development] NepoRood:
Of course my friend! I'll take all the help I can get, especially from you :highfive:
[Miscellaneous Android Development] NepoRood:
X10 Firmware eMMC Needed!

Hello all, I need to get my hands on a copy of the eMMC type of firmware so I can do some ROM testing. What I downloaded from Tablet Express this morning was the same thing that I have already. Anyone with this kind of firmware can either post a link here or send it to me in a PM.

I'd really appreciate it.

Thanks,

Nepo
[Miscellaneous Android Development] dvdsoft:
thanks
[Miscellaneous Android Development] NepoRood:
You bet friend, you know there's a button for that though, right? :p
[Miscellaneous Android Development] pctelco:
I have apparently made a moderate error, and flashed the wrong image on my X10. I, the Image X10 V2-5.1-amw-TWRP_SuperSU.img packed without problems or errors of amw2320 on the X10.

The X10 will boot without any problems in the OS, Root / SU is also available.

However, when I boot into the recovery, I get various mount and path error appears, and can of course install anything.

I assume that it is the wrong TWRP from the package, since I apparently - got not the X10 with NAND memory, but one with EMMC memory - contrary to the description from Amazon.

My attempt now to flash with Flashify the right TWRP recovery IMG was denied by Flashify with the errors of false mount points.

Has anyone of you a tip on how I can get on the X10 that suit TWRP now?

If need evenly also again cause Full-Wipe.
[Miscellaneous Android Development] NepoRood:
All you have to do is download the mmc version of TWRP, then use ADB to push it to the device

adb push x10_twrp_mmc.img /dev/block/mmcblk0p9
[Miscellaneous Android Development] pctelco:
THANK YOU! Here I have, unfortunately, a further problem because I do not get my X10 to be recognized by ADB (ADB Devices is blank), only if I have TWRP started and there activate "ADB sideload", ADB, the X10 I will also displayed as "sideload".

How do I get the X10 in the bootloader?
[Miscellaneous Android Development] NepoRood:
The X10 doesn't support fastboot, going to bootloader won't do you any good. You using Linux or Windows? Either way, you have to have the necessary drivers installed, or you could try an ADB over WiFi app from the Play store.
[Miscellaneous Android Development] pctelco:
With the APP "ADB Control" from PlayStore now i was succesfully! Thanks a lot [MENTION=7237874]NepoRood[/MENTION]!
[Miscellaneous Android Development] NepoRood:
No problem, glad I could be of assistance :good:
[Miscellaneous Android Development] amw2320:
Sorry about that, glad you got it fixed. Here is the emmc version for anyone wanting to use it in the future.

http://www.mediafire.com/download/q1be4p6suhr5qs5/X10-V2-5.1-amw-TWRP_SuperSU_emmc.img

Mine is NAND so I cant test it out, so let me know if there are issues.
[Miscellaneous Android Development] NepoRood:
I recently flashed this with LiveSuit, still nand and stock recovery, are you sure you have the right repo manifest? lol
[Miscellaneous Android Development] pctelco:
I have one more issue on my X10. Anytime it is new connected to my Wi-Fi-router, the X10 have a new MAC-address. Have you any hint for me to solve this?

Gesendet von meinem P9000 mit Tapatalk
[Miscellaneous Android Development] mikele2015:
is it any chance to update this tab with last nougat android update soon ?
[Miscellaneous Android Development] MSF Jarvis:
More to come, [MENTION=7237874]NepoRood[/MENTION]
[Miscellaneous Android Development] NepoRood:
lol, doubtful, I can't even get my Lollipop build to boot. Last I heard from Tablet Express, they were working on Marshmallow. I really doubt they'll drop that in favor of jumping to Nougat.