Home repair tips forum

PM Notification

You are not logged in.

Welcome, Guest
Username Password: Remember me

Search Forum

Keyword

Medion Lifetab P9516 OS or S/W hack or upgrade
(1 viewing) (1) Guest

TOPIC: Medion Lifetab P9516 OS or S/W hack or upgrade

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 12 months ago #1491

Lifetab and Jelly Bean.


Dear guest users:
I will not talk about the flashing process in detail here, since I don't know, if you're able to get back to the stock-image.
Maybe later we will release a package to install CM10 with just a click.



Some days ago I found a thread that describes how to get CM 10 onto the Lenovo K1.
forum.xda-developers.com/showthread.php?t=1825176

So if they got JB running on the K1, why shouldn't it run on the Lifetab?

I've downloaded the file K1_CM10_JB_Starter_v2.zip and had a look into it.
There are some files we can use, others we can't, and some files I think we shouldn't use.

First file is system.img, which is the ext4-filesystem /system, that has to be flashed to partition APP.
Next file is boot.img, which consists of the kernel and a ramdisk. This has to be flashed to LNX.

We don't need
- everything else
- recovery.img - I'm happy to have the CWM-recovery-image. I think that I don't need anything else.
- userdata.img - that's strange. It should be written to the TMP partition, but it doesn't contain a valid filesystem. I don't want a non-filesystem-image on /tmp, so I also skipped this.
And unfortunately for the way I'm using nvflash, the size of each image has to be a multiple of 4096. But the size of userdata.img isn't.

What else?
We have to wipe /data before booting JB. If we don't wipe /data, chances are that the system doesn't come up.
Also from the link above: the file gapps-jb-20120726-signed.zip
And what also would be a plus: having a linux PC!

I flashed the both images, wiped /data, booted ... saw the "Medion" screen....
Then it switched to the android-man.....waited some seconds... and bingo, here it is.
The "Medion" still is there at startup, so it seems to be part of the bootloader.

To install gapps-jb-20120726-signed.zip, I copied it to the external sdcard and installed it by first booting my beloved CWM-recovery-image.
Back in JB I installed Titanium-Backup from the playstore.
Then I was able to restore my previous applications.

Next problem was adb, I was not able to adb to the system but on my linux system, I saw some "USB gadget".
But google is my friend and says:
"setprop persist.sys.usb.config adb"
before it was mass_storage,adb
This mass_storage has to be examined separately!
In dmesg I now see a "Lenovo K1" with USB-IDs 18d1:d002
Linux doesn't have a problem with this, but maybe windows...don't really know.

Ok, now let's boot the toy....but what's that?
...it asked me if I want to restart, boot to recovery or boot to bootloader.
boot to recovery and boot to bootloader both send me to the recovery image...good!

The camera button doesn't close apps like it did before, but there's some separate config for hardware keys....

That's enough for today.
So much things to do, so little time....

Micky
Like my work?
Last Edit: 8 years, 12 months ago by Ameisentaetowierer. Reason: moved, topic changed
The following user(s) said Thank You: YLG80, hhuber2001

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 12 months ago #1493

just noticed, that the link forum.xda-developers.com/showthread.php?t=1825176 promised CM10 with JB 4.1.2, but on my tablet I see CM9 with JB 4.1.1

Anyway, it is running.
And I'm confident, that the next CM will run too.
Like my work?
Last Edit: 8 years, 12 months ago by Ameisentaetowierer. Reason: moved, topic changed

Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 12 months ago #1494

  • YLG80
  • OFFLINE
  • Moderator
  • Posts: 776
  • Karma: 28
Topic dedicated to the Medion Lifetab P9516 O.S. and related software (hacks, upgrades, K1 porting, sources)

The necessary tools are covered in the Rooting, ClockWorkMod recovery and NVflash/unbrick topics.

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 12 months ago #1495

In the current image I haven't changed the USB-ID or the product / manufacturer ID.

Playstore now tells me:
"This app is compatible with one of your devices"

Devices? Ok....I have only one.
It tells me, that I own a P9516 and a K1...
But that's great, because the app is only compatible with the K1.
So I maybe shouldn't change this, since I've often seen a message, that the P9516 isn't supported.

Micky
Like my work?
The following user(s) said Thank You: YLG80

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1506

  • hhuber2001
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hi Mickey!

Thanks to your hints on installing CM10, I was able to install the Nvflash Starter v2 version.

I was not satisfied without 3G, so I went one step further and installed the CWM flashable v6 3G version.

I have been testing this version for a few hours and its been stable so far. 3G is working flawlessly. I will keep you updated.

Best regards
Hans
Attachments:
The following user(s) said Thank You: Ameisentaetowierer

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1507

Hello Hans,

great to have you here!
Looks like you're an experienced user.
It's good to hear, that 3G is working, this will encourage more people to try it too.

Please also help us by posting your partition table in the "nvflash" topic.
Though I think that they all (except the 64GB) should be equal, it would be a plus to have more posts proofing that this is right.

Looking forward to hear from you!

Micky
Like my work?

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1518

  • Andri Od
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 1
Hi there

Not so many news the last days...

How is it going ? How is JB performing on our Lifetab? Whats better, whats worse than with ICS or HC? Still don't know whether to "Upgrade" or not ...

Looking forward to hear you soon!

A.O.

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1519

Hallo a.o.,

after I've upgraded to the 3g version, like Hans did before, I can't see a big difference to ICS, except parts of the GUI.
The p9516 hw is the same like the k1, so what works and what not can be found here
forum.xda-developers.com/showthread.php?t=1825176
The big difference is, that you'll have a K1, at least in the playstore
But that can be changed.

If you have made a backup using the nvflash commands from Yves, you can go back if you're not happy with jb.
In the next days I will also test, if I can go back to the ICS version from the ftp-server, just to see, if this is a full factorry reset.

Micky
Like my work?

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1521

  • YLG80
  • OFFLINE
  • Moderator
  • Posts: 776
  • Karma: 28
On the way back from holidays, during my wife's driving rotation, I've decided to upgrade my tab while sitting on the passenger seat.
No PC, no Internet, no charger, only a USB stick with the K1 CM10 JB v2, V3 and V6 rom images.

I've first moved my valuable sdcard data onto the sdcard2. Just in case.
Then make a backup of all apps with Titanium Backup
Make an update.zip of Titanium Backup in order to reinstall the app w.o the need of Internet.
Make a backup with CWM.
Moved the K1 3G CM10 v2 and v6 on sdcard

Time to start the upgrade from CWM.

First a wipe data/factory reset from within CWM.
I could not upgrade directly to v6. Of course the tab is not yet a K1, so the upgrade is refused.
The upgrade to CM10 v2 was OK. Then reboot to recovery via ROM Manager that was installed with the v2 package.
Now the upgrade to CM10 v6 is accepted and executed with no problem. It takes only a few minutes.
Aargh, no ROM Manager to reboot in recovery when in the OS. But the mini terminal is installed with the package;
Fortunately the shutdown menu has an option to restart from recovery. Cool.
Tried to install the Titanium Backup update.zip in order to have access to Titanium. No way. Error ... status 0. What's that ?
Good, my data were kept intact in sdcard.

This was the end of the process while in the car. No Internet, no hope !

At home, with Internet, I've continued the process.

Gapps installation .
Titanium installation from the PlayStore.
56 apps restoration+ apps context with Titanium. No problem this time.

My tab looks almost like it was before the upgrade. It sows the OS release as 4.1.2 ?

Flawless upgrade ... except with Titanium .

But the Jelly Bean Touch experience <with the P9516 is by far better than with ICS.
It's almost as snappy and responsive as an iPad .
This is especially evident when browsing through pictures with Gallery.
No more lag and pictures immediately displayed in their full resolution. Amazing.
>No doubt, they have done a very good job on that aspect.

However no remarkable difference with the Internet surf. I have to test it further.
Don't know yet if the Tethering mode (ad hoc) is available by default.

It's cool to have a rooted boot image. No need anymore to go through the rooting process after an upgrade.
It's cool to have a restart to recovery option in the shutdown menu.
Interesting, there are many more developer options in the General Settings.

@ Andri Od:
Mickey and myself are still working on an upgrade that would keep the Medion ID.
I'm working on the USB adb Win drivers for CWM under Windows.
We would like to have a CWM with the same adb driver as with the normal P9516 OS.
This is not case actually, and it could cause driver installation problems under Windows.
Under Linux there is no adb driver problem.

Be patient for a P9516 custom CM10 or, during the transition, you could simply use the K1 version.

I will post very soon a CWM image with the correct Medion P9516 usb descriptors.

Yves
Last Edit: 8 years, 11 months ago by YLG80.

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1524

  • Andri Od
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 1
YLG80 wrote:

@ Andri Od:
Mickey and myself are still working on an upgrade that would keep the Medion ID.
I'm working on the USB adb Win drivers for CWM under Windows.
We would like to have a CWM with the same adb driver as with the normal P9516 OS.
This is not case actually, and it could cause driver installation problems under Windows.
Under Linux there is no adb driver problem.

Be patient for a P9516 custom CM10 or, during the transition, you could simply use the K1 version.

I will post very soon a CWM image with the correct Medion P9516 usb descriptors.

Yves


Bonjour Yves,

thanks for your detailed report on upgrading your P9516. I really appreciate your and Micky's work!

Just for your understanding: I have no problem with the Windows adb drivers - I just do not use them, for I prefer Linux anyway.
At the moment I'm just undecided whether to upgrade or not, for I don't yet see huge advantages of JB versus a (in my opinion) more or less flawlessly running ICS on my LifeTab. The only thing that really bothers me is the fact, that in standby the 3G once in a while loses the signal for a short time (or maybe the baseband processor crashes), which causes a huge battery drain, lasting until the LifeTab is reactivated. In worst case, I lose more then 50% capacity overnight. Maybe this behaviour is fixed in JB.

I think, this week I gonna give it a try...


Have phun
A.O.

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1525

  • hhuber2001
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
After updating to v6. 3G was working for a day or two. Even after standby. So the battery drain problem described by Andri Od seemed to be gone. But now the tablet is acting up again and batter drain from ICS is back

It looks like the kernel driver for the 3G modem still has a problem in JB.

Andri Od, how did you find out that 3G was the cause for the battery drain.

Best regards
Hans

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1526

  • YLG80
  • OFFLINE
  • Moderator
  • Posts: 776
  • Karma: 28
Hell A.O,
Thanks for your post.
Unfortunately I don't use the 3G function with the tablet. I prefer to tether the tablet from my iPhone.
That's the reason why I'm interested in the ad hoc patch .
I can confirm that the wifi-supplicant has not been patched for ad hoc networks in the original CM10 v6 image.

Perhaps the 3G and Wifi problems have the same origin. (Wifi not fixed in JB)
If you decide to switch wifi off when in hibernation, the tablet get locked and you have to completely reboot it.
I don't know if you want to keep the 3G connection running while the tablet is in standby.
The best fix I've found is to use Airplane Mode from Don (Playstore).
However this app does not handle the 3G but there is another one with the same name.


Another aspect to take into account is the license question.
I've not verified each app reinstalled in my tablet after the upgrade, but at least the Drawing Pad does not run anymore
due to a license problem.
I guess it was licensed to Medion only.
That's another reason to create a clean Medion image.
For now, I will return my tablet to ICS and work with Mickey on a clean P9516 upgrade.

Yves

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1529

  • Andri Od
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 1
@Hans: Take a look at the battery plot in the "Settings" menu ("Einstellungen" -> "Akkuverbrauch"). Whenever I see a thin red stripe on "Mobilfunknetzsignal", the capacity plot begins falling down with a ratio of about 10% per hour. Even if the mobile signal had been recovered long since then, the drain is lasting on until the LifeTab is reactivated from standby. Just to illustrate, I attach a screenshot taken some times ago.
Akku2.png


@Yves: I know the "old" WiFi standby problem in hibernation. I use the Auto Airplane Mode from Don too, and ist works fine for me. It does stop the 3G network as well as the WiFi when in standby. But it doesn't prevent the LT from the battery drain caused by the signal loss (which in my opinion is not a weakness in signal strength, for the LifeTab is absolutely not moved at this (night-)time, but a crash and recovery of the baseband processor).

The licensing issue is surely something to take in account, thanks for the hint!

Greets
A.O.

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1535

  • Andri Od
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 1
Curiosity killed the tab...

Just kidding...

Since yesterday in the later evening, I'm a Jelly Beaner too!


I tried to do it in Yves' way, but not sitting in the passenger seat of a car, but comfortably on my sofa with my Linux laptop on my knees.
Unfortunately, the upgrade process did not work as flawless. Don't yet know, why. But in the end, everything seems ok.

Made some sorts of backups (Titanium, CWM, nvflash)
Pushed K1 CM10 JB v2 and V6 rom images to /mnt/sdcard
Booted into CWM and wiped /data
Tried to install K1 CM10 JB v2 via CWM, but got an unspecified error
Tried to install K1 CM10 JB v6 via CWM, but got an error "assert failed: getprop("ro.product.device") =="k1"... OK, obviously we do not have a k1 yet...
Rebooted an saw a vanilla (medion) ICS. Activated the USB debugging and could adb into system
Extracted the boot.img and the system.img from the K1 CM10 JB v2 archive an pushed them to /mnt/sdcard. Afterwards dd'ed the images to the right partitions, rebooted an kept my fingers crossed...
Whohooo, the first JB shun on my LifeTab! Obviously a CM9, but we know that and therefore never mind. In addition, I need 3G and so I wanted to have the CM10..V6 in any case.
Activated USB debugging, adb'ed into system and rebooted it once again in CWM recovery
Tried to install K1 CM10 JB v6 via CWM, but got again that error "assert failed: getprop("ro.product.device") =="k1"... Rebooted in CM9 an looked at the /system/build.prop Definitely, I saw "k1" at "ro.product.device" and also at "ro.build.product" properties. So what the heck?
Googled for a solution, got the advice to upgrade the CWM. Did that to CWM 6.0.1.5, but still that error.
Googled further, an found the hint to edit the update-script of the CM10 archive. Kicked the first line in /META-INF/com/google/android/updater-script, rebuild the archive, pushed it to /mnt/sdcard, rebooted into CWM, chose the .zip, kept my fingers crossed one more time and... it accepted the update!
About a minute later I could reboot and found my former LifeTab morphed to a Lenovo K1 with Android Jelly Bean 4.1.2 CM10
Pushed the google-apps on /mnt/sdcard, bootet into CWM via the nice shutdown-menu and installed the google apps. Then installed Titanium Backup from the Play Store-
It was already very late, so tried only to restore a handful of apps via Titanium Backup. Worked!
The rest is now just a matter of time.

Maybe someone of you could tell me, why my upgrades didn't work in the way, Yves described before. Noticeable anyway. the the V2 and the V6 archives have completely different content. I guess I misunderstood something concerning the update mechanisms...

Anyway, at the moment, I'm happy with JB. Let's see, what times will bring...




Greets
A.O.
Last Edit: 8 years, 11 months ago by Andri Od.
The following user(s) said Thank You: Ameisentaetowierer

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1536

Hi A.O.,

next time I will upgrade my Tab while taking a shower

You started with wiping /data. That is the reason for the vanilla ICS.

The properties starting with "ro.xyz" are stored somewhere in the build.prop.
With each image you have an own build.prop, so booting between CWM-recovery, JB-image and ICS-image may have different results.
We have to sort this out and change the asserts, so that either nothing is checked or both devices are accepted.

If you found 2 img files in the V2, then it probably wasn't a CWM installable file, but something you have to flash or dd, like you did.

An update.zip can have a boot.img, that is written to the boot-partition in the updater-script.
Like that: write_raw_image("/tmp/boot.img", "boot");

The /system filesystem is not packed into an image, it's just a bunch of directories and files in the ZIP, which are extracted to /system.
Afterwards the ownership and permission of these files are changed in the updater-script.
Like that: set_perm(0, 2000, 06750, "/system/bin/run-as");

BTW: The standard update procedure from Medion/Lenovo seems to work similar.
It stores the ZIP in /sdcard/update.zip
Then it writes some instructions for the recovery-system into the /cache partition.
Then it boots into recovery.
The recovery-system reads the instructions from the /cache partition and starts the update process.


Did you have any problems with JB and adb?
I think I had, but probably it was my fault.

Micky
Like my work?
Last Edit: 8 years, 11 months ago by Ameisentaetowierer.

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1537

Yesterday I've downgraded back to ICS using CWM-recovery.

I took the Medion ICS zip-file, changed some of the asserts, added the su binary and installed it via CWM.
In the first attempt I didn't wipe /data.
It came up with small white letters (like when you're booting to recovery) saying, that BCT and EBT are being updated.
Afterwards it looked like it was hanging at the "Lifetab" logo.
I waited for some minutes....started "adb logcat"....nothing
Then I booted into recovery, wiped /data, booted again.....
Again it hangs in "Lifetab"...started "adb logcat"....remembered that USB-debugging must be activated first...
And finally it came up with a rooted Medion ICS.

Now I'm thinking of changing more things:
- removing install-recovery.sh so CWM-recovery is not replaced by stock-recovery
- adding busybox (I'm a unix guy )
- activating USB debugging automagically?
- more ideas?

Micky
Like my work?

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1538

  • YLG80
  • OFFLINE
  • Moderator
  • Posts: 776
  • Karma: 28
Mixed results.
Thanks to A.O for the detailed upgrade issue.
Could you tell us which CWM version was installed in your tab when you started with the upgrade ?
I had the custom build CWM 6.0.1.5 for LT P9516 patched with the correct VID/PID.
I don't believe that the VID/PID could cause the issue as you were on Linux.
I believe that CWM 6.0.1.0 as used par Mickey was also OK for the upgrade to v2.

I've started to analyze how to customize an image for the LT. (Will try to start from version v6.)
First I had to setup the tools to sign the image. It's OK with a java script.

@Mickey,
If you have already started to customize an image, please let me know.
It's better to target a single ROM image.
No problem for me to just beta test the installation and check Windows issues (drivers).

BTW, Krook1 prepares a new version:

•v6.1(coming soon) - Tethering options, User controlled auto-brightness


I've found a little bug in CM10 v6.
When you connect a USB stick to the tablet, it reports an SDcard in the General settings.
I will report it to Krook1.

Yves

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1539

  • Andri Od
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 1
Ameisentaetowierer wrote:
Hi A.O.,

next time I will upgrade my Tab while taking a shower

Ok, but be careful not turning on the camera unintentionally...

Ameisentaetowierer wrote:

You started with wiping /data. That is the reason for the vanilla ICS.

ACK. This was not really the problem.

Ameisentaetowierer wrote:

The properties starting with "ro.xyz" are stored somewhere in the build.prop.
With each image you have an own build.prop, so booting between CWM-recovery, JB-image and ICS-image may have different results.

ACK. But I looked at the build.prop of the CM9, an it had the "k1" entries. Hm... Maybe the update-script tries to read the properties of the CWM and therefore does see the "old" Medion entries...

Ameisentaetowierer wrote:

If you found 2 img files in the V2, then it probably wasn't a CWM installable file, but something you have to flash or dd, like you did.
...

Ah, ok. That explains something! Thought already roughly in that direction, but I can see clearly now! Thanks for the explanation.

Ameisentaetowierer wrote:

Did you have any problems with JB and adb?

No. Worked seamlessly from the scratch. Only had to turn USB debugging on, that was all.

Greetz A.O.

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1540

  • Andri Od
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 1
YLG80 wrote:

Could you tell us which CWM version was installed in your tab when you started with the upgrade ?
I had the custom build CWM 6.0.1.5 for LT P9516 patched with the correct VID/PID.
I don't believe that the VID/PID could cause the issue as you were on Linux.
I believe that CWM 6.0.1.0 as used par Mickey was also OK for the upgrade to v2.

Ah, could not say for sure. Must have been 6.0.1.0 or 6.0.1.4. I installed it about two weeks ago, following the instructiions here. Now I have 6.0.1.5. But it made no difference, threw the same error (which obviously, after Micky's explanation, is due to the fact, that the V2 archive I used is not an update archive). AFAIK, Micky didn't upgrade to V2 via CWM, but used dd, for which the image is suitable (did so in my 2nd try an succeeded).
The VID/PID was never a issue to me, for I use Linux.

Greets
A.O.

Re: Medion Lifetab P9516 OS or S/W hack or upgrade 8 years, 11 months ago #1541

  • YLG80
  • OFFLINE
  • Moderator
  • Posts: 776
  • Karma: 28
@ A.o
Really bizarre. I've done the entire upgrade ICS->v2->v6 via CWM 6.0.1.5 with no error.
Yves
Moderators: YLG80, Ameisentaetowierer
Time to create page: 2.46 seconds
Sizler icin kurdugumuz sitemizde yabanci diziler ve film arsivi ile birlikte gunluk burc yorumlari son dakika haberler bulunur Dizimag Hayata dair herseyi sizlere gosteriyoruz. Hemen sitemize girip eglencenize bakabilir zamaninizi guzel gecirebilirsiniz.