Android OS Forum banner
1 - 20 of 150 Posts

·
Registered
Joined
·
138 Posts
I have built a 10.1 rom for the hp tenderloin. I am not posting the actual rom because it has a way to go (no working SDCARD). It is so far from a daily driver that I restore my 10.0 nandroid after testing a build so I can use the tablet. Instead, I am posting a link to the source code so other developers can build their own roms and maybe we can get a fully working cm10.1 rom.
My device tree is on github:
https://github.com/d.../tree/10.1-ugly

On the 10.1-ugly branch is a semi working device tree for hp tenderloin cm10.1.
Many more details are included in the README file.

If you aren't set up to build cyanogenmod roms for the tenderloin, this won't be any use to you. It truely is developer only.
It is a work in progress. Very, very much a WIP.
Sound doesn't work.
Camera doesn't work.
Bluetooth doesn't work.
Most important: NO SDCARD!

This is heavily reliant on the work of Arne Coucheron.
His invaluable patches include:
http://review.cyanog...d.org/#/c/34375
http://review.cyanog....org/#/c/34377/
http://review.cyanog....org/#/c/34374/
and his highly useful google doc:
https://docs.google....IyI4/edit?pli=1
Without his work, I would still have no display.

All my patches are in one big, ugly patch. I included various gerrit patches that my patch is dependent on. I'll work on neatening it up so the commits are readable. I just wanted to get this out there so others could work on it and we can get cm10.1 working.

I think that this is everything.
If you figure out how to get the SDCARD to mount, let me know on freenode #cyanogenmod-tenderloin, RootzWiki, or XDA. Share your work! Between all of us, we can get this working.
 

·
Registered
Joined
·
138 Posts
Discussion Starter · #2 ·
The legendary jcsullins has produced a patch that allows the SDCARD to mount!
I will update my github/drmarble with this patch.
Still no sound. Most other things seem to work.
I'm still not posting a rom, this is for homebrewers only.
I have no faith that this rom won't brick you tablet after giving all you password to hackers.
 

·
Registered
Joined
·
854 Posts
The legendary jcsullins has produced a patch that allows the SDCARD to mount!
I will update my github/drmarble with this patch.
Still no sound. Most other things seem to work.
I'm still not posting a rom, this is for homebrewers only.
I have no faith that this rom won't brick you tablet after giving all you password to hackers.
Sweet!!! I figured it was something simple as mounting the right block, but I'm not wise in the ways of os programing yet.

Sent from my cm_tenderloin using RootzWiki
 

·
Registered
Joined
·
138 Posts
Thanks to more machinations by the famous jcsullins the rom has SOUND!
I pushed the needed commit to my github for your building pleasure.
Note, it has sound from the speakers. I don't think it works from the headphones. The mike doesn't work. Bluetooth is non-existant (Bluedroid anyone? needs implementation.)
Yes, you are stuck with the phablet interface. It is supposed to look like that. Google eliminated the tablet interface so we have a notification bar along with the status (button) bar. There are hacks to get the tablet interface but it is very deprecated. I rather like the pull down controls.
It does have James Sullins' low power commits and they do work. -5 mA sleep current.
It is almost useable. Tell me (or pull request on github) (or pm) (or #cyanogenmod-tenderloin on Freenode) (or smoke signals...) if you have any patches. since it uses two non-cm repositories it really isn't a cm-rom so we can't use gerrit to exchange ideas.
 

·
Registered
Joined
·
4,922 Posts
Thanks to more machinations by the famous jcsullins the rom has SOUND!
I pushed the needed commit to my github for your building pleasure.
Note, it has sound from the speakers. I don't think it works from the headphones. The mike doesn't work. Bluetooth is non-existant (Bluedroid anyone? needs implementation.)
Yes, you are stuck with the phablet interface. It is supposed to look like that. Google eliminated the tablet interface so we have a notification bar along with the status (button) bar. There are hacks to get the tablet interface but it is very deprecated. I rather like the pull down controls.
Great to hear. Some screen shots would be nice or a YouTube video would be really cool. You know J.C. is always up to the challenge. Bet he conquers mic and bluetooth before you know it. Can't say it enough, you guys are amazing!
 

·
Registered
Joined
·
138 Posts
Discussion Starter · #9 ·
To go with the sound patch I removed one commit from the build process: # 34375 # MemoryHeapBase: ifdef for gingerbread/froyo compatibility We aren't using froyo libs apparently, thanks to jcsullins' new sound patch. This means we can remove -DBINDER_COMPAT from Boardconfig.mk. This is the great dissadvantage of my putting up a "big ugly patch" to get cm10.1 to build. If I had taken my time and made separate, simple commits removing things like this would be easier. I'm going to work on another branch without "ugly" in its name that does the same things.
Dorregaray's camera patches don't apply, some merge errors that should be easy to fix. Again, makes me wish I hadn't made just one patch.
Best of luck getting this thing useable. I'll try to remember to put needed build changes into the README and this thread.
 

·
Registered
Joined
·
138 Posts
Discussion Starter · #10 ·
I have made major changes. We now have a camera, thanks to Dorregaray. It is stretched and upside down but it has a picture.
I have also created a new (and somewhat neater) branch at
Code:
https://github.com/drmarble/android_device_hp_tenderloin/tree/b10.1
I separated the large commit enabling cm10.1 into several separate commits so it is easier to follow. I expect to do further development on this b10.1 branch.
You no longer need any of the commits to either frameworks directory. Dorregaray's camera patches work without gingerbread support. I have modified the README file to explain what is changed and how to use this to generate a cm10.1 rom. Please read the README file, that's why it's there.
 

·
Registered
Joined
·
854 Posts
I have made major changes. We now have a camera, thanks to Dorregaray. It is stretched and upside down but it has a picture.
I have also created a new (and somewhat neater) branch at
Code:
https://github.com/drmarble/android_device_hp_tenderloin/tree/b10.1
I separated the large commit enabling cm10.1 into several separate commits so it is easier to follow. I expect to do further development on this b10.1 branch.
You no longer need any of the commits to either frameworks directory. Dorregaray's camera patches work without gingerbread support. I have modified the README file to explain what is changed and how to use this to generate a cm10.1 rom. Please read the README file, that's why it's there.
Any chance of getting a a zip to flash so those with nonworking build machines like myself can experience this?

Sent from my GT-P3110 using RootzWiki
 

·
Registered
Joined
·
400 Posts
I have made major changes. We now have a camera, thanks to Dorregaray. It is stretched and upside down but it has a picture.
I have also created a new (and somewhat neater) branch at
Code:
https://github.com/drmarble/android_device_hp_tenderloin/tree/b10.1
I separated the large commit enabling cm10.1 into several separate commits so it is easier to follow. I expect to do further development on this b10.1 branch.
You no longer need any of the commits to either frameworks directory. Dorregaray's camera patches work without gingerbread support. I have modified the README file to explain what is changed and how to use this to generate a cm10.1 rom. Please read the README file, that's why it's there.
You have missed to merge camerahal directory to b10.1 branch. I've created a pull request adding missing files plus the camera config patch.
 

·
Supporting Member
Joined
·
42 Posts
I tried building and am having problems.
I'm using the same directory structure where I normally build for SGS2 10.1.
I used the readme file at
https://github.com/drmarble/android_device_hp_tenderloin/tree/b10.1
to modify the local_manifests/roomservice.xml, run repo sync, run the patch script, and built it but it wouldn't boot.

Then I realized that I hadn't downloaded the propritary files so I got them from the tp while running 10.0.
But, now when I try to build I get an error:

Notice file: external/strace/NOTICE -- /home/jim/android/cm10.1/out/target/product/tenderloin/obj/NOTICE_FILES/src//system/xbin/strace.txt
Import includes file: /home/jim/android/cm10.1/out/target/product/tenderloin/obj/EXECUTABLES/vim_intermediates/import_includes
make: *** No rule to make target `vendor/hp/tenderloin/proprietary/lib/libc2d2_z180.so', needed by `/home/jim/android/cm10.1/out/target/product/tenderloin/system/lib/libc2d2_z180.so'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/vim/src/Android.mk -- /home/jim/android/cm10.1/out/target/product/tenderloin/obj/EXECUTABLES/vim_intermediates/export_includes

I noticed when I was loading the propritary files that there were a couple that weren't found and I assume that is my problem.
Where can I find the proper files?
 

·
Registered
Joined
·
138 Posts
Discussion Starter · #14 ·
use unzip-files.sh on the latest 3-3 (3-4?) jcsullins rom, available from goo.im. That has all the latest proprietary files.
cd device/hp/tenderloin
./unzip-files.sh ~/Downloads/cm-10-20130304-EXPERIMENTAL-tenderloin-FOR_LIMITED_TESTING_ONLY_CAM.zip
I have updated the camera files due to an error on my part in committing the camerahal directory. I am still learning git, be patient. Dorregaray caught that mistake and submitted a pull request. It is now merged and fixed. He also got the settings working. The picture is still stretched and flips/mirrors in odd fashions but it is a picture. Like all features of this rom, it is still a WIP.
Because of the update to camera files you should resync to branch b10.1. It should be fast to download. Good luck on building.
 

·
Supporting Member
Joined
·
42 Posts
use unzip-files.sh on the latest 3-3 (3-4?) jcsullins rom, available from goo.im. That has all the latest proprietary files.
cd device/hp/tenderloin
./unzip-files.sh ~/Downloads/cm-10-20130304-EXPERIMENTAL-tenderloin-FOR_LIMITED_TESTING_ONLY_CAM.zip
I have updated the camera files due to an error on my part in committing the camerahal directory. I am still learning git, be patient. Dorregaray caught that mistake and submitted a pull request. It is now merged and fixed. He also got the settings working. The picture is still stretched and flips/mirrors in odd fashions but it is a picture. Like all features of this rom, it is still a WIP.
Because of the update to camera files you should resync to branch b10.1. It should be fast to download. Good luck on building.
Thanks for the help! It now builds, installs, and runs great!!
Skype works so the mic and sound are working fine.
I tried the camera and although the preview is srunk and upside down, the picture it takes is correct.

I tried both stills and video and the both worked fine except for the wonky preview.
If someone tells me how to change the camera mode, I'll try that.
Amazon kindle, ES File, Google Maps all work fine.
Wifi works great and so does google play.
Even though wifi is set to always keep wifi on during sleep, it doesn't. In fact it takes a few seconds to turn it on when you wake it. Not a big deal. I noticed this problem on 10.0 too. Except 10.0 didn't take so long to turn it on.
Can't find much to complain about!

You guys have really done a GREAT JOB!!
I'm really impressed at how quickly this is comming togeather.
 

·
Android Beginner
Joined
·
77 Posts
I spent an hour or so trying to research how to create a build environment on my win7 64 PC, but I've given up based on three points;

* no Linux experience outside of android
* seems some more experience builders have difficulty getting successful builds
* PC is invaluable for uni at the moment, seems it would take many hours on my dated computer.

Do you (devs) think this is far away from getting a highly experimental .zip posted online for very enthusiastic users like myself? this is all I'll post on the matter, I don't want to clutter the brilliant progress being made in this thread.

Keep up the brilliant work

Sent from my Galaxy Nexus using RootzWiki
 

·
Registered
Joined
·
138 Posts
Discussion Starter · #18 ·
SGA has built a rom from this code (I think he's using my device tree). You can find it over on xda: http://forum.xda-developers.com/showthread.php?t=2174642&page=24 is where the talk of the 10.1 rom begins. A link to his rom is:
http://goo.im/devs/SGA/CM10.1/CM10.1_TESTING_ONLY_Apr0213.zip
His is a little behind (no camera) but otherwise pretty close to what I'm building.
When things slow down at university, set up a dual boot linux/windows wystem and enjoy building. It takes me 20 min on an I5 with 12gig ram, 3 hours on a core2duo with 4g ram. That's after the first (twice as slow) build which populates the ccache.
 

·
Android Beginner
Joined
·
77 Posts
Thanks!

I should get around to it, because what I've seen of Linux, I do like.

The PC was a beast 4 years ago haha, probably take hours! Uni break in sight so maybe then. Hopefully creating a build environment isn't too difficult to figure out.

I'll grab that file as soon as I'm home and have a look, thanks again!

Sent from my Galaxy Nexus using RootzWiki
 

·
Supporting Member
Joined
·
42 Posts
I spent an hour or so trying to research how to create a build environment on my win7 64 PC, but I've given up based on three points;

* no Linux experience outside of android
* seems some more experience builders have difficulty getting successful builds
* PC is invaluable for uni at the moment, seems it would take many hours on my dated computer.

Do you (devs) think this is far away from getting a highly experimental .zip posted online for very enthusiastic users like myself? this is all I'll post on the matter, I don't want to clutter the brilliant progress being made in this thread.

Keep up the brilliant work

Sent from my Galaxy Nexus using RootzWiki
It's not nearly as hard as it sounds and lots of folk around here are willing to help.
Here's a set of guides from Red Flea that include how to build TP CM10.0:

https://skydrive.live.com/?cid=b3bff0d42ae1e534&id=B3BFF0D42AE1E534!107

and the only change not covered in the last page and a half here to change to 10.1 is to use

repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1

instead of

repo init -u git://github.com/CyanogenMod/android.git -b jellybean

in the Touchpad CM10 instructions.
Let us know how it works out for you.
 
1 - 20 of 150 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top