yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] fipsy:
There have been attempts of porting other android versions earlier. And there are always problems with the display. As the drivers are built into the kernel there is no chance to seaparate them into modules.

They should. But nearly no company does. They use foreign ideas but don't obey any rules. That's usual economic behavior today. If you want to bring them to trial... ;) Some people in germany did that concerning the same problem with router software and won without exception.

Cheers, Volker
[General Questions and Answers] steve30x:
I found the gsensor and wifi drivers in the misc.img file.

Theres a tutorial here to show how to port the drivers and firmware to another rom.
[General Questions and Answers] fipsy:
:good: Good luck! The missing display driver was the problem so far.
[General Questions and Answers] steve30x:
What missing display driver?
[General Questions and Answers] fipsy:
The touch display needs a driver. The display of the HSG1279 is quite different from other displays used on 10.1" tablets. So if you adapt android versions or recoveries from other tablets you generally have the problem that the display isn't working properly.
[General Questions and Answers] steve30x:
When I flashed Cyanogen Mod 10.1 and 10.2 to my tablet the touch worked perfectly. The only problem I had was that the GSensor and wifi didn't work. What I found with Cyanogen Mod 10.2 and 10.1 was from the Galaxy S III. Both worked almost perfectly except that Rotation (Gsensor) was not working and WIFI didnt work. I reckon the reason why it was stuck on portrait mode was because (1) the GSensor wasn't working and (2) because its from a phone rom so it loads into the os in portrait mode. If it can be forced into landscape mode upon loading it is a start.

Anmyway I'm going to start working on this this morning. I reckon Cyanogen Mod 10.1 is a good start because 10.2 seemed to be laggy and 10.1 was very fast.

***** EDIT ****

I've spend the last six hours trying to port over Cyanogen mod but it fails every time. I'm going to give it a rest for today and continue tomorrow. If I can find a way to simply copy over the drivers then I will be very happy. I'm not out of ideas yet but my eyes need a rest.
[General Questions and Answers] steve30x:
I finally got screen rotation to work. I need to now get WIFI working. I might not get this working but I'll keep trying.

If there was an easier way to install the Cyanogen mod than having to jump through hoops just to get it installed. My job would be made easier , but I have never modified or never ported a rom before so this is all new to me.
[General Questions and Answers] steve30x:
Guys I have some very good news for you. I got CyanogenMod 10.1 working on the tablet. Screen Rotation and wireless is working. I think I need to contact the guy who ported the rom to other devices on the Slatedroid forum before I can upload my files. The install Process isn't simple either but if I get permission I will share the files.
[General Questions and Answers] fipsy:
Very interesting! I didn't believe this was possible! So you found the right driver modules for g-sensor and wifi to bind them at load? Nice job! :highfive:
[General Questions and Answers] steve30x:
Yes I am using it now. Its still a little bit laggy but its much better than it was with the stock rom. I'm going to try and port Cyanogen mod 10.2 too but that won't be until the weekend or early next week.

The problem with the way I got this to work is you have to have an OS already installed and running , then zip a tool to make the rom work , then zip the rom , then gapps , then zip the converter again and you are good to go. When you boot up first the Cyanogen Mod circle will look odd but will straighten out after a few seconds. Then it takes about two or three minutes for it to do the first boot. I haven't found any major bugs yet and its very usable so if I get the permission I will upload all the files I used and the files you will need to install the rom. The only thing you will need to do is upload the files to your sd card and do the flashing. I just need to modify the tablet details in the build prop before I upload the files.

Hopefully from there somebody can find an easier way to install the rom if I can upload the files though.
[General Questions and Answers] kevinthefixer:
Can you not remove all personal info, and upload a CWM backup?

BTW--Fantastic work! Very glad someone is going to all this trouble!
[General Questions and Answers] steve30x:
I never thought of doing it that way. I will do it that way if I get permission from the guy who originally done the Cyanogen mod. I don't want to be stepping on anybodies toes here.

**** EDIT *****

I'm making a backup of my personal rom with my personal stuff installed and I'll make a backup of a clean CM10.1 then. I'll just have to make some changes to the buildprop before I upload anything.
[General Questions and Answers] fipsy:
As Cyanogenmod is Open Source you normally don't need to ask anybody as long as you do not distribute components that are under copyright.
[General Questions and Answers] justmpm:
Open source or not it is always a good idea to ask before you start distributing some one else's work. From the xda rulebook: 12. Using the work of others.

If you are developing something that is based on the work of another Member, you MUST first seek their permission and you must give credit to the member whose work you used. If a dispute occurs about who developed / created a piece of work, first try to settle the matter by private message and NOT in open forum. If this fails, you may then contact a Moderator and provide clear evidence that the work was created by you.
[General Questions and Answers] steve30x:
As I said. I will not upload the rom without the other guys permission. I think its best to get permission first. I will try to take screenshots and upload them tomorrow. The rom needs more work but I've done what I can with it. I am no expert with rom moding or porting roms and this is the first time I ever ported a rom from one device to another. The rom is still laggy in places and crashes every once in a while or hangs every once in a while but its better than the stock rom and everything I throw at it works. I hope somebody more experienced will either continue to work on it or work with me to improve on it. If I do upload the rom I dont care if its uploaded elsewhere or if somebody else tears it appart and modifys it then uploads it again. I' just ported Cyanogen mod because I saw people wanted it and I wanted it too.
[General Questions and Answers] scr1k:
Your work is very much appreciated! :D

I'll be willing to give a stab at your port once it appears (and if I can find the charger for the tablet...).

With regards to the poor battery life of this tablet someone mentioned in the past that the WLAN on this tablet draws a crazy amount of power when the tablet is in standby, I will try and use an app (e.g. https://play.google.com/store/apps/details?id=com.asksven.betterwifionoff&hl=en) to see if this helps.
[General Questions and Answers] steve30x:
I've found that with Cyanogen mod installed the battery drain is significantly reduced on my tablet. I think its just that Hannspree badly developed the original rom. It could be something else though.
[General Questions and Answers] Notevery1:
Hannspree HSG1279 stuck in endless loop.

I purchased a Hannspree HSG1279 SN1AT71BUE301 tablet for my mother last Christmas. A few days after this Christmas she said the tablet would not get past the Hannspree boot screen. I tried rebooting and got the same problem. I tried a factory reset, but all that did was to send it into an endless loop back to the Android system recovery screen. I contacted Hannspree and was told to try the factory reset, but that didn't work either. They said since it was a week out of warranty, I could send it in and they would let me know how much it would be to repair. The tablet was only $149.00 new and I can get it now for $100.00. I don't think it would be worth sending it back to Hannspree. I'm not that savvy with software fixes, but can follow instructions.

I've tried to hook up the tablet via usb to my PC, but the PC system does not recognize the tablet. Windows says there was a problem installing the driver for the tablet and it has been disabled.

When I do a factory reset, information scrolls across the tablet screen and says it has been successful, but does not boot. It looks like it starts to boot (The square Hannspree Icon comes up), but then the tablet turns off, restarts, goes to the Hannspree logo again, then goes back to the Android system recovery screen. In recovery it does recognize the internal and external SD cards.

Do you think it is a Hardware problem with the tablet or do I just need to reinstall the factory software? Is there factory or other software (mod) available to get this thing working again?

Anything to assist is appreciated.
[General Questions and Answers] steve30x:
It looks like you need to reinstall the OS on the tablet. I don't know how to do that from the stock recovery so maybe

try

installing Flipsy's custom recovery. You can find the instructions on the first post. Then download update-FW8963-20131219E.zip from the link in this post http://www.android-hilfe.de/hannspree-forum/491077-hannspree-hannspad-sn1at71-10.html#post7351952 and flash the zip. From what you've posted it looks like either the OS partition is corrupt or the OS is broken.

**** About CM10.1 ****

If I dont hear from the guy who's CM 10 I am using by saturday I will zip the drivers and some of the files needed to port over the rom yourself then give instructions and links to files you need. I would prefer give you guys the CWM backup though because it would make your lives much easier.
[General Questions and Answers] fipsy:
But big Open Source projects (like Cyanogenmod) normally are not only based on the work of one person but of hundreds or thousands of persons. If the source code is published as free (especially if it's published under GPL) you cannot (and also need not) always ask hundreds of people if you are allowed to use their work. Normally it should be enough to post a list of names of people who worked on the code before.

---------- Post added at 12:06 PM ---------- Previous post was at 11:54 AM ----------

I'd recommend to copy the 4.2.2 upgrade to the sdcard and flash it using the stock recovery.

https://yadi.sk/d/igsBGsAjFpLsL
[General Questions and Answers] franzmueller:
[MENTION=5110154]fipsy[/MENTION]: Maybe you can help me: I'm trying to backup my whole system (nandroid backup) without using your recovery (as awesome at it is), because I don't have a sd-card at the moment.

Which command do you use for backing up the partitions? Maybe I can change it a little bit, so it works via adb and I can perform the backup without having to use a sd-card.

Thanks in advance!!
[General Questions and Answers] fipsy:
The easiest way would be to create the backup on the internal sdcard and then copy it to where you want to. You do not need to create it on the external sdcard. Another way could be the use of the App "Online Nandroid Backup".
[General Questions and Answers] franzmueller:
Thanks, I always thought I have to use the external SD. Stupid me ;)
[General Questions and Answers] Notevery1:
HSG1279 SN1AT71BUE301 Running

Thanks for the help Fipsy. The 4.2.2 upgrade did the trick. My mothers Hannspree tablet is back up and running. I really appreciate your help.

Thanks again.

Notevery1
[General Questions and Answers] steve30x:
I am still waiting for a reply , but heres proof that I have CM 10.1 running on the tablet.
[General Questions and Answers] justmpm:
Yup...but if you are taking somebody's CM build and using it for a port (which is very different from forking the source from CM's github and building it yourself) then it is best to ask for their permission.
[General Questions and Answers] HamBone625:
Patiently awaiting the first "ROM" for thus tablet then I might actually use it hahaha
[General Questions and Answers] steve30x:
I'm going towork on Cyanogen Mod 10.2 this morning and I will upload some of the files needed to port it to this tablet , give instructions how to port the rom and links to the rest of the files needed. I wo't upload the backup I have because I didn't get permissin from the original rom developer.
[General Questions and Answers] zephyro5:
Do you mean you didn't get permission YET, or he doesn't want you to share the ROM? :confused:
[General Questions and Answers] steve30x:
He hasn't replied to me. I'll have the instructions posted shortly. I'm typing them up now.

**** EDIT ****

I had the instructions typed and almost ready but something went wrong and I lost it all so I have to redo it again.

Give me an hour to type it out again. (Its not a huge post but I want to make sure its as easy as possible and make sure my spelling is as correct as possible)
[General Questions and Answers] steve30x:
I forgot to mention. You should leave the tablet sit Idle for about ten or twenty minutes after booting into the homescreen. I've noticed that if you leave it sit idle for about twenty minutes the tablet will be less laggy afterwards. If you don't wait the tablet will be slightly laggy. I've been testing this with three days and everything works for me. Also to get developers options and Performance options to show in the settings screen tap build number 7 times

**** EDIT ***

I messed up my OS so I had to reinstall (I forgot to backup) so I timed how long it takes the first boot to. The boot animation looks odd for two and a half minutes and it takes five minutes to boot to the install screen.
[General Questions and Answers] franzmueller:
First off, thanks for the amazing work. I can't believe we finally have the possibility to get rid of Hannsprees bad stock rom.

I'm pretty sure you meant Boot2CT-4.3 and not Stock2CWM, as you never use Stock2CWM in your guide.

I was able to build and flash the rom the way you described it and it feels a lot smoother than the stock rom (even 4.1.1), but I can't get the wifi working. If I try to switch it on the button stys grey and nothing happens :(

I don't think I missed something, has anyone an idea what could've gone wrong?

Edit: I checked some of the files from the system partition and it looks like copying the files from the Needed.rar was succesfull. Still no wifi :(
[General Questions and Answers] steve30x:
Yes I meant Boot2CT V4.3. I don't know why your wifi isn't working. Its working for me here.Heres some steps you can try to get your wifi working. It might or might not work

This will require you to wipe the tablet and start again though.

1) After wiping the tablet and installed update-FW8963-20131219E.zip open Boot2ct and put the following files to the internal sd card of the tablet. boot2ct-add2build.prop and boot2ct-otherfiles.tar. Then in the boot2ct-add2build.prop file add the lines

/sdcard/boot2ct-add2build.prop

/sdcard/boot2ct-otherfiles.tar

(do this to the file in the zip and in the sd card just to be sure)

I'm just guessing here. I don't know why your wifi isn't working and mine is. This might work
[General Questions and Answers] franzmueller:
Which file exactly is responsible for the wifi? Which contains the driver? I don't know if android actually works this way, but I'd like to double check that it's the right file. Maybe you could generate a MD5 or SHA-1 hash, so I could compare the files :)
[General Questions and Answers] steve30x:
In case something is wrong with that system.rar file heres (attached) a new one but in zip format instead

Heres the MD5 for it : A472A4EE3BF33A0A7B59C546D7EA1AA7

I just took this system folder from my tablet and zipped it so I know it works. I'm not sure exactly which file is responsible for wifi. Its working for me here though. I know when I installed the wrong gapps version my wifi wouldn't work either though
[General Questions and Answers] franzmueller:
Okay, these are the excactly same files, so this can't be the problem.

In your previous post you were talking about the wrong gapps, I used gapps-jb-20130813-signed.zip. Can you confirm these are the right ones?

I'll try your suggestion with copying the two files to the internal card!
[General Questions and Answers] steve30x:
Yes thats the right Gapps. I would love to share my backup but I cant. While you are at it try the new zip file. Something might be wrong with the original. I know I'm not much help but what I've posted is the way I got Cyanogenmod to work for me and everything is working perfectly including my wifi
[General Questions and Answers] kevinthefixer:
I can't tell you how much I appreciate your work here. I am a bit confused, though (not that this is unusual). In your guide you say to do a factory reset before the procedure, then a full wipe of everything just after that. Maybe redundant? Then at the end you "reiterate" to do another factory reset after installing the ROM--but that isn't in the step-by-steps. Could this be what is causing franzmueller's problem? Many devs recommend wiping cache and Dalvic cache before first boot, should that be done in addition to or instead of a final data wipe/factory reset?

Edit: Oh yes, and is GAPPS necessary? I find that many tablets run much better without. Also, should I reboot after installing the stock FW, or just stay in CWM and continue on?
[General Questions and Answers] steve30x:
Its right there after I said to prepare to install the rom. I didn't say do another data / factory reset. You only need to do that once , but if you don't do a factory reset you will be stuck in a boot loop and then you will have to do a complete wipe. That is unless somebody has another solution for the boot loop.

I am not telling you that you must do a complete wipe but you have to do a factory reset. Also GAPPS is not necesary if you don't need google play store and the other stuff it installs. You do not need to reboot after installing the stock firmware. If that was necesary I would have told you to do so. I've tested this method of installing Cyanogen mod a few times to make sure its right.
[General Questions and Answers] franzmueller:
Hey guys,

wonderful news!I got the wifi working now and will test if everything else works :)

Here is what I did different this time:

1) Used the new system.zip

2) Moved and changed the files as mentioned in #835

3) Wiped cache after every single zip installation
[General Questions and Answers] steve30x:
Thats great news. I'm glad you got your WIFI working. Cyanogenmod is much better than the origial rom. I'm hoping some day we get Cyanogen mod 11 working on this tablet though. I've tried myself but I cant get it to work.
[General Questions and Answers] franzmueller:
The only thing I can't get to work is the multiuser support :(

I guess ths feature is missing, because you took a CM which was originally created for a phone. Is there any way we could add this feature with little work and -if possible- without flashing the whole rom again? I already tried adding new users with "pm create-user xy", but the tablet crashes if I do so.

Apart from that, and the launcher crashing under heavy load, its pretty fluent! Great job!
[General Questions and Answers] steve30x:
I dont know how to fix that. I don't need to create a new user so I didn't test that. I've uninstalled the stock launcher that came with Cyanogenmod and installed Nova launcher instead. With Nova Launcher the tablet runs a bit smoother and uses a small bit less ram
[General Questions and Answers] steve30x:
I'm going to experiment and see if I can either edit the kernel for this (Ive found the kernel and extracted it) to ad features or if I can add a newer kernel to the CM rom. If I can do it I will let you all know. Don't expect anything though. I might not get anywhere with it though.

**** EDIT **** Ive run into a problem. I dont know where ramdisk is stored. This will take a while to figure out
[General Questions and Answers] CXZa:
Boot2CT's Boot Converter usage

Here seems to be a bit of confusion how this Boot2CT's Boot Converter (Compatibility zip maker) of mine works. Yes, more instructions would be in order.

The way it should work for Hannspad is this (hopefully).

A. Install the 4.22 stock firmware of your choice.

B. Extract following files from the Boot2CT's Boot Converter and edit them (Notepad++)

1. boot2ct-stockfiles.txt (remove all the comments (#comment#) from the file names)

2. boot2ct-add2build.prop (remove the comment (#) from the BT line's start)

3. boot2ct-otherfiles.tar (no editing)

C. Put the above three files to your internal memory (/mnt/sdcard/)

D. Put a Christian Troy's ROM (and the gapps.) to your external memory (/mnt/sd-ext/)

E. Put Boot2CT's Boot Converter there as well (to your external memory (/mnt/sd-ext/) )

F. Enter to recovery. Do the factory reset just in case. Do the flashing sequence below

1. Install TWRP or CWM recovery (if not already installed)

2. Flash Boot2CT's Boot Converter

3. Flash a CT's ROM (and the gapps.)

4. Flash Boot2CT's Boot Converter again

5. Do the factory reset

G. Enjoy your new ROM (and if you do, go ahead and click Mr. Troy's donate button, or this)

Links:

[custom rom] CyanogenMod 10.2 (4.3.1) by ChristianTroy

http://www.slatedroid.com/topic/920...d-102-431-by-christiantroy-update-2013-11-30/

Boot2CT's Boot Converter

http://www.slatedroid.com/topic/102857-compatibility-zip-maker-and-cwm-recovery-maker/

(You might also like to try how my portable version installers for custom recoveries,

CWM and TWRP, work in the HANNSPAD. Can be made permanent if wanted.)

http://www.slatedroid.com/topic/107...e-versions-of-custom-recoveries-cwm-and-twrp/

-cxz
[General Questions and Answers] steve30x:
Do you have CWM working on this tablet?

What is it with this tablet not wanting to turn on when the battery goes low on juice. I have it plugged in with ten minutes and I don't think its even charging. The Battery was at 50%. Anyway CXZ portable TWRP works with this tablet. But dont permalize it. The tablet gets stuck on the Hannspree logo if you do.
[General Questions and Answers] kevinthefixer:
I shall have to try this amplified set of instructions next weekend, as I have failed miserably so far. I've started over from scratch three times, including new downloads, and I've tried the edits in both Linux and Windows including the unzip/rezips. Each time the tablet hangs at the CM boot splash. Back to stock for now, gotta go hunt & gather. But as I read this, I should install and boot to the 4.2.2 FW, put the files in their respective places, then start flashing: boot2ct, CM ROM, then boot2ct again, factory reset and reboot. Yes?

Once again I'd like to thank one and all for this work. I have many hours put in just mucking around, I shudder to think how many you guys logged!
[General Questions and Answers] steve30x:
Its starting to drive me crazy. Every tim I try something new and it goes wrong I might fix it within a few minutes or it might take hours to fix. I'm trying to get TWRP installed as my main recovery but it doesnt want to work. After my second attempt I am having trouble getting CWM back.
[General Questions and Answers] CXZa:
That's the way I planned... I think....(I too had to re-read all the files to know what does what. So time has passed since I did the thing....)

Yes, these things can take time, naturally, but don't say it in loud.... Some of these developers might suddenly realize that there is a real world outside.

A world of joy, real feelings and beauty.... ;)

---------- Post added at 21:51 ---------- Previous post was at 21:32 ----------

I don't what you're planning but the Boot2CT's Boot Converter uses the kernel you provide to it.

Just use the latest stock ROM with it.

If you want to edit the boot.img (or recovery.img) you can use for example my unpack/repack package.

It seems that I cannot yet give links, but click my Slatedroid signature "Tools and Packages..." link

and search with a word "unpack" . Or you can use Actions' PAD modify tool which is good too,

but sometimes you have do some tricks to really make use for it.

http://www.slatedroid.com/topic/419...-with-firmware-development/page-3#entry665058