yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] dr_bowtie:
I found steve's files (page 90-92 somewhere) on the stock firmware with the enlarged partitions. The issue is I have no clue how to make it work.

I do notice, when comparing, the twrp back up I did differs from the cwm back up of cm 10.1 and aokp 4.2 in the fack that the cwm back ups have recovery files. I am thinking that bengs those were made in cwm they need to be restored in cwm and not twrp.

So my thinking is this..... if I want to try aokp 4.2 I will need to load the cwm portable within twrp recovery (beings I permanentalized it) and wipe/reset and restore from cwm portable and then boot it. if it succeeds then boot to twrp recovery and make a back up of the aokp 4.2 for future use. I think I read years ago you cannot restore a back up made in cwm booted into twrp and vice versus.

Never tried aokp so there's always that... thoughts?
[General Questions and Answers] CXZa:
>I'm confused? I've already permanentized twrp.

My mistake. Although CWM makes a backup from the recovery partition it seems that it doesn't restore it.

Tested to make it sure.

Yes, that text about using TWRP and CWM is correct. Just use CWM portable through TWRP.

Just remember to remove any spaces in path when "restoring" that aokp....
[General Questions and Answers] dr_bowtie:
Thank you for that :)
[General Questions and Answers] dr_bowtie:
CXZ is there an easy way to resize the partitions? and would that be a permanent fix or would I need to do it with each rom back up?

EDIT: I will add that Kernal Tuner is a BAD idea! Following the guide on it to boost the tablet to 1200mhz over the shown 1008mhz resulted it long amounts of lag. Programs and the browser would lag so long I'd get a no response prompt to wait or close the program. Terrible idea.

I wonder if anyone has a cwm or twrp back up of the lastest stock rom?
[General Questions and Answers] steve30x:
I used a tool posted at slatedroid to resize the partitions then flash the new rom to the tablet.

I tried that kernel tuner with the tablet but the tablet got too warm and eventually locked up. Also another reason why the tablet is so slow is because one core is idle all the time and is never used
[General Questions and Answers] CXZa:
The tool Steve is talkin about is Actions' Pad Firmaware Modify Tool

http://www.slatedroid.com/topic/94521-actions-pad-tools-developer-editions/?p=1141122

There is also my tools for resizing partitions mentioned in above Slatedroid post.

For the tools you'll need a factory firmware which you can find here

http://www.slatedroid.com/topic/97618-hannspree-sn1at71/?p=1245978

And you use Actions' Pad Product Tool for flashing that

http://www.slatedroid.com/topic/94521-actions-pad-tools-developer-editions/

The lastest firmwares for Ainol tablets has that boost (Kernel Tuner) activated by default.

http://www.slatedroid.com/topic/108882-ainol-sdk-1224-from-20140325

From that thread one can pick some tweaks from xoen. There was also some talk

about cores, that making two idle could be better. Haven't tested it though - yet.
[General Questions and Answers] foszuled:
Ok someone gave me a link to a recovery I don't know if it's an original or not. But if I were to try to use what you said where would I put the image file? And when I downloaded the file it's name was recovery.ima do I rename it to recovery.img? Thanks for any help you can give
[General Questions and Answers] fipsy:
(All commands executed with superuser rights [su])

First save your original recovery with:

cat /dev/block/acta > /sdcard/orig-recovery.img

Then copy your test-recovery to the sdcard (the name may be 'new-recovery.img' or whatever you want - the filename is irrelevant).

Now move the test-recovery to the recovery partition:

cat /sdcard/new-recovery.img > /dev/block/acta

Now you may test it by turning the device off. Then holding down 'Vol -' and pressing the power-button for 2 seconds and releasing it while keep holding down the 'Vol -' until the recovery starts (or doesn't if it isn't suitable for this device) ;). It may take 10-20 seconds until the recovery starts.

If you want to restore the original recovery, just enter:

cat /sdcard/orig-recovery.img > /dev/block/acta
[General Questions and Answers] foszuled:
Well that's the thing I didn't save my original recovery before I flashed a cwm recovery it boots into recovery but it can't mount any folders so it can't flash any zips it can't do anything so I wanted to somehow restore or flash the stock one back I asked on here if anyone backed up the original one someone posted a link to one I'm assuming it's an original but I'm not sure could I place that recovery to where the device would have backed up my original if I did back it up and then use your method to restore it? I just don't know where to put the recovery.img file? So basically right now I'm stuck with a cwm recovery that doesn't work and no idea how to restore the original cuz I didn't know how to back it up... a factory reset in the android os wouldn't restore it would it it would just reset the system and data right?
[General Questions and Answers] fipsy:
I already answered your question here (didn't you see it?): http://xdaforums.com/showpost.php?p=48739153&postcount=87 and uploaded the original image file for you.

You can always flash a recovery manually from adb shell with the commands I gave above. You don't need to have a zip for that. Just a recovery image on your sdcard.

Yes :cyclops: You can place it anywhere you want. But I would place it on the sdcard because there is enough room for it. ;)

Yes
[General Questions and Answers] foszuled:
Sorry you are were I downloaded the recovery.img from sorry I'm just not good at all with the adb shell stuff or adb at all thank you for all your help I'm gonna try it in a few mins and let you know how it worked out thanks
[General Questions and Answers] fipsy:
Practice makes perfect. ;)

If you are able to access your device from your pc via adb shell you just have to enter "su" and then the commands I stated above.

Perhaps you first try to restore the original recovery. And if this works you may experimentalize to your heart's content...
[General Questions and Answers] ou2mame:
Are you rooted? I ran it on mine and my gf's tablet and it worked fine. As for price, we got them on ebay. I don't know how germany works, but I had no problem explaining that the manufacturer falsely advertised the tablet. I guess German companies stand behind the manufacturers.
[General Questions and Answers] foszuled:
Hey thanks allot got the original recovery back worked like a charm!! Now only if I can get a custom recovery that actually works..
[General Questions and Answers] Bluze:
Yeah, it's rooted, and I can mount RW. When I tried to run pimpmyrom it gave me a black screen and just kind of hung there. I didn't have a lot of time though, I'll play with it some more tonight and see.
[General Questions and Answers] ou2mame:
That's weird. Maybe they updated it and it doesn't work? I didn't do anything special, all I did was install it lol.. There are other tools to do the same thing i'm sure, I just chose that one cause I've used it before.
[General Questions and Answers] Bluze:
Morning ou2mame. I tried it again last night and still just got the black screen. I let it go and eventually it popped up a message saying it wasn't responding. So I'm not sure what's going on. I'll try to look around for something else. I have Clean Sweep, but I've never been to happy with it on my other rooted devices. Any recommendations?
[General Questions and Answers] erdoboy:
Sorry its late but just wanted to say a big THANKS for all your help, my tablet is now rooted with the help of your instructions.
[General Questions and Answers] fipsy:
You're welcome!
[General Questions and Answers] JimboJoe:
Thanks to you as well for the root method, fipsy!

Clearly, what would be the actions to be taken to build a custom recovery (CWM or TWRP)?

What are the necessary inputs?

Are there risks implied by the needed tests?
[General Questions and Answers] gbc123:
Out of interest might this happen to be the same device inside? As I am looking to root it?

http://xdaforums.com/showthread.php?p=48992620#post48992620
[General Questions and Answers] fipsy:
For CWM there is an online recovery builder but I didn't get it to work. But I also didn't spend so much time on it: http://builder.clockworkmod.com/

This may also help: http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device

If you first make a backup of your original recovery und just overwrite the recovery-partition (/dev/block/acta) there are no risks.

---------- Post added at 11:11 PM ---------- Previous post was at 10:59 PM ----------

I think rooting will work on this device the same way. So if you just want to root it I suppose my method will work. But not a recovery.

The problem with the recovery is that there are a lot of devices that are nearly identical concerning the hardware (like the "Ainol Novo 10 Hero") but they have different file system tables and mounts what makes foreign recoveries unusable. :crying:
[General Questions and Answers] JimboJoe:
Thanks. So basically you tried the online CWM builder, providing a dump of the original recovery and leaving default parameters? What was the problem?

As another alternative, the guide for TWRP is here: http://xdaforums.com/showthread.php?p=32965365
[General Questions and Answers] fipsy:
The build-procedure stopped after some minutes with an error.

The problem is that the original recovery probably cannot be read because it may have a proprietary filesystem. The filesystem of the recovery partition (/dev/block/acta) is vfat and hence can be opened with every tool like WinImage. But within this filesystem there is another recovery image called "recovery.img". Look here: http://xdaforums.com/showpost.php?p=48471832&postcount=37. I wasn't able to open this image. It's neither vfat nor ext2 nor ext4. If we were able to open it probably it would be no problem to create a custom recovery.
[General Questions and Answers] xxBenJamminxx:
Does anyone know where could get a copy of the stock Hannspree Rom to install as a ZIP from the sd card? Got one for our 4yr old daughter and after she went to take a picture it said "cannot connect to the camera." So I went to restart it and it shut down but will not power back on at all. You can see the backlight on the screen come but it just remains black. I can enter the stock recovery so I tried wiping the Cache first, then went on to try full data wipe/factory reset with not progress.

If anyone has any ideas that would great as Id like to get this going again for her.

Should add hers is the HANNSpad SN1AT71B.
[General Questions and Answers] fipsy:
Sounds quite weird. Especially because the HANNspree logo doesn't appear after turning on the device. This means that even the bootloader doesn't start. If you also cannot restore the system from the recovery maybe there is a technical problem with the memory?
[General Questions and Answers] dr_bowtie:
I noticed that about kernel tuner as well. It boosted all 4 cores but if the cores werent loaded sufficiently two of them dropped off and it ran as a dual core. Once it was loaded again they would pop back for a second or two and then drop again. poor implementation.

I havent done anyting to the tablet in the last day as I was testing fully powered off battery drain. It should NOT use any battery when fully powered off and should hold a charge pretty long (months). With CM 10.1 installed and powered off from a fully charged state if will kill the tablet over night. I plugged the tablet in this morning to check and it was so dead it would not even show the battery level indicator on the screen.

I wonder what is going on in CM 10.1 to cause battery drain in the powered off state? It isnt the battery. with the stock rom it would hold a charge for months in the powered off state.

I am guessing I am correct in thinking I cannot flash back to the stock rom from within twrp correct?
[General Questions and Answers] CXZa:
Sure you can but the tool is easy to use too if you have a Windows.

And then you can resize that partition too...
[General Questions and Answers] steve30x:
In some cases with CyanogenMod 11 on the Galaxy Tab 4 we have a similar situation where the battery charging animation will keep running in the background when the tablet is fully powered off and it will drain the battery. It was fixed after a while but I don't know how. It could be something in the kernel that is doing this.
[General Questions and Answers] dr_bowtie:
Are you saying I can flash the stock rom from twrp?

I am on a windows 7 PC.

I was thinking you couldnt flash a stock rom from cwm or twrp because of the non-stock recovery issue?

When it charges I am going to attempt to load AOKP 4.2 and make a twrp back up and run that for a day or two.
[General Questions and Answers] CXZa:
Then use the pad tool. If you prefer to "flash" from sd card then you can use my

Images2Partitions tool to write those img files (inside the rar archive) to their partitions.

Rar having 1219 in its name contains the 4.2 firmware. (other option is to remove the line

that does the checking from the updater-script file if you want to use a flashable zip file)
[General Questions and Answers] dr_bowtie:
The tool doesnt bother me. I already have the Genric Android driver installed on my other PC with ABD from when I flashed my OnePlus so I may see if that recognizes the tablet.
[General Questions and Answers] CXZa:
ADB drivers for Actions' stock ROMs and all 7029 recoveries: http://www.slatedroid.com/topic/70585-adb-drivers/

Actions' tool use adb drivers but they have the registry keys of their own.... Try version 1.07 first, do not let it update itself.
[General Questions and Answers] dr_bowtie:
it maybe just as simple as loading Flashify to the tablet and flashing the stock recovery to the tablet. The latest firmware from hannspree has the recovery image in it.. no worries about drivers and hooking it to a PC.
[General Questions and Answers] CXZa:
As you earlier said there is not any worries. The tool installs itself quite nicely.

I have also given you alternatives that also can restore the stock recovery if you want.

Also these tablets having Actions' SOC inside just do not "brick".

One cannot break them by flashing. Believe me, I have tried.

(if one has the original pad product tool flashable factory firmware that is)
[General Questions and Answers] dr_bowtie:
CXZ let me ask this?

Would it be possible to make a portable stock recovery to boot to in twrp to install the stock firmware? that way once it is installed I could make a twrp back up of the stock firmware?

EDIT: (because i'm bored ha ha!) I did install AOKP 4.2 with cwm booted from twrp. So far letting it cook a few before doing anything. will play with it and make a twrp back up before adding anything. Rotation has a couple minor glitches but nothing unlivable.
[General Questions and Answers] kevinthefixer:
The rotation was always a bit screwy with the AOKP ROM on this tab. It doesn't seem to cause much harm, just takes a little getting used to.

I don't use mine much, I have more tablets than any normal sane person would want, but following this discussion got me to fire it up today after about a month. The battery was still at 100%! So no, I don't think you'll have the battery problems on AOKP that you did on CM.

For myself, and at least one other user on this thread, AOKP was more stable and quite a bit snappier than CM. But I think it was [MENTION=4218632]steve30x[/MENTION] who reported the latest stock firmware faster than either. I have no benchmarks, don't believe in them, but I did not have that same experience; I still have AOKP on my tablet.
[General Questions and Answers] dr_bowtie:
In that aspect I guess we are a lot alike.

My first tablet was a 7 inch ZTPad (cant remember the name) then I got the Samsung Galaxy Note 10.1 and then a Nextbook 8 inch for the wife and then I got the Hannspad for work.

There are others but they arent worth mentioning unless i should mention my kids Lenovo A2107 thats had more fixes then all of them and now needs a new screen.

AOKP seems very robust in options and it will take a while to get them all figured out but if it doesnt have the battery drain issues I'll keep it. so far I really like it.
[General Questions and Answers] steve30x:
I have four tablets here myself. I have aa 7" galaxy tab 4 10.1" tab 4 , Acer A500 and This TV sized 13.3" HannspreeTitan.
[General Questions and Answers] dr_bowtie:
I dont really do anything with this tablet. If I remember I got it at walmart for $69.00 on a sale.

I got it because it was cheap and all I intended to do with it was use the Torque app and a bluetooth OBD-II reader and check codes. That it did well. I dont think any browser would work well on this tablet so it wouldnt be of much use unless you like to wait.

Only apps I ever had on the tablet were Torque, Beautiful Widgets and SNES9x And those were moved to SD card.
[General Questions and Answers] CXZa:
Sure., although easier solution would be that portable recoveries would just use the same properties as the stock.

But I wanted to keep any changes minimum, so the properties are like the original developers wanted.

That is, if the recoveries are permanentized. If not then stock properties are still used.

Other way is just restore the stock recovery, one way or another...

Maybe easiest is just flash my "Custom Recovery Remover" available in this thread.

http://www.slatedroid.com/topic/102857-compatibility-zip-maker-and-cwm-recovery-maker/
[General Questions and Answers] steve30x:
I have a question. Can a rom be ported to a device without the Kernel source? I have a Kernel backed up with CWM and would like to try and port a different rom to my Titan.
[General Questions and Answers] CXZa:
Sure, like ChristianTroy's roms for 7029, but it depends. The new rom might use some features unsupported by the kernel,

then it it depends the feature if it stops the developer. You could ask Oma if he can port some of his.

When he made some for LuckyMe's device, I unpacked them and made some observations.

After some adjustments and feedback it worked quite well, or that was my expression at the time.

There was some funny things causing odd behavior. Like the kernel of the boot was different from the one

on kernel partition. Maybe it's normal, I don't know enough about RK's to tell...
[General Questions and Answers] steve30x:
I asked Oma already. He said that because I don't have a kernel source then a different rom can not be ported. I just wanted a second opinion because I couldn't remember using any Kernel sources to port Cyanogen Mod to the T71.
[General Questions and Answers] CXZa:
Well, I don't know, maybe it depends the tablet and its stock firmware. Christian Troy's roms for Ainol

tabs use the same stock kernels as others having Actions 7029 as SOC, so porting was quite fluent.

The one Oma ported for LuckyMe also use the stock kernel. Was it the same SOC as yours, I cannot remember....

Actually it was still on my harddrive. It is also RK3188. I cannot say, maybe there is some differences

that makes porting harder... like the kernels differ too much??
[General Questions and Answers] dr_bowtie:
Just to keep this old thread rolling along ;)

Installed AOKP 4.2 a few days back and since then I think I have re-installed it about 4 times. I had the same battery drain issue with it as I have CM 10.1. Tablet seems to consume more battery when powered off than it did while on.

Not sure if its a ROM glitch or the fact that the ROM was really a Samsung S3 rom ported to the tablet, same as the CM 10.1? AOKP 4.2 also exhibited some kind of wakelock issue while charging in that the tablet would constantly wake up from sleep at what seemed like every percent of charge and some times multiple wakes.

I wiped and reloaded several times just to see if it wasnt flashing cleaning and using some old settings somehow but I am sure wiping the Cache, Data and Dalvik it was loading clean. Wiped before and after flash.

After this last install I just went ahead and loaded my usual apk apps ES File Manager, SNES9x, Torque and Beautiful Widgets. I also went ahead while setting up ES File Manager and installed ES Task Manager (never used one) and DU Battery Saver (never used one either)

Both ES Task Manager and DU Battery Saver said there were "issues" that needed to be fixed with the CPU so I let them fix them and I also let both apps "Optimize" and whatever they did fixed the battery drain issue....

The battery saver app reports the CPU at 1200mhz which I doubt is true and it also reported it was overheating but I'm also thinking it was goofy it not fully detecting correctly. Mosting thinking as it detected as Samsung.

Either way going to play with it a few days.
[General Questions and Answers] steve30x:
If you are using CWM don't just do data wipe / factory reset. Wipe all partitions then reinstall. Also run this it will help with any rogue files left over from wiping.https://play.google.com/store/apps/details?id=eu.thedarken.sdm&hl=en
[General Questions and Answers] dr_bowtie:
I am still using twrp.

I did, however, use the portable cwm from within twrp to flash the aokp 4.2.

I did it per the guide and went a step further by wiping cache, data and dalvik after the restore of the back up. Once it cooked for a bit I booted into twrp and made a backup of the install. I've reloaded that install about 3 times.

The first time I didnt wipe the cache and dalvik after the restore and it reloaded with all settings and apps in place so I headed back and wiped cache, data and dalvik and let it rebuild from fresh.

Seems to be okay for now. I even did an Advanced wipe in twrp and wiped everything but emmc and that didnt do any better.
[General Questions and Answers] CXZa:
Troy's ROMs identify themselves as Samsung to give user more apps from the Play Store.

I don't remember/know if Steve has implemented the deep sleep patch to that back up of his.

"IMPORTANT: just for this release flash this additional file or GSF won't let the tablet enter deep sleep."

Also see the FAQ and wifi settings. (as I said earlier there might be something weird in them, maybe

it was that "never" would cause more battery drainage? ? )

http://www.slatedroid.com/topic/91865-custom-rom-aokp-422-by-christiantroy/
[General Questions and Answers] steve30x:
I can't remember if I did , but I think I did add that to the rom.
[General Questions and Answers] dr_bowtie:
No clue. I dont remember reading anything about Wakelock issues but you could tell CM 10.1 definitely had them.

Thats the only thing about custom roms.... they can be more buggy than stock.
[General Questions and Answers] CXZa:
Compared the files. It seems that the patch isn't there. Maybe you added it in some test but forgot it later...

So dr_bowtie, try if the patch helps or not. It will update two files, services.jar and framework-res.apk.
[General Questions and Answers] steve30x:
I probably didn't then. I don't even have any of the files or tools I used anymore. My sister has the tablet with a few months and I don't have access to it anymore.
[General Questions and Answers] dr_bowtie:
I flashed the fix. Booted and was greeted with the Optimizing Android. I was thinking all the times I have flashed this tablet I havent seen that on boot like other devices on the initial first boot.

Anyone flash the Pure Performance patch for this and did it help?