yashsingh1/xdaforums huggingface dataset:
[ONE General] adlx.xda:
"Can't install this package on top of incompatible data"

TL;DR: I've updated the OP with an alternative method that should work for those getting this error .

Actually, for some obscure reason I don't know, the zip factory image for XNP33R does a verification on one file that is in /data (/data/system/packages.xml), looking for the certificate that signed a specific package from the installed rom (/system/app/HTMLViewer.apk). If the certificate isn't the same one that is bundled in the factory image, it won't flash and throw the error you got. If you scroll to the right you'll see the error is from the sha1_check on line 6:

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh");
sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");

Here we can see the content of otasigcheck.sh:

#!/sbin/sh

# Validate that the incoming OTA is compatible with an already-installed
# system

if [ -f /data/system/packages.xml -a -f /tmp/releasekey ]; then
relCert=$(grep -A3 'package name="com.android.htmlviewer"' /data/system/packages.xml | grep "cert index" | head -n 1 | sed -e 's|.*"\([[:digit:]][[:digit:]]*\)".*|\1|g')

grep "cert index=\"$relCert\"" /data/system/packages.xml | grep -q `cat /tmp/releasekey`
if [ $? -ne 0 ]; then
echo "You have an installed system that isn't signed with this build's key, aborting..."
# Edify doesn't abort on non-zero executions, so let's trash the key and use sha1sum instead
echo "INVALID" > /tmp/releasekey
exit 1
fi
fi

exit 0

I don't really see the whole point in doing that, as the next line will actually format system, so why care about what was there before anyway?

format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");

I've updated the OP with an alternative method that should work for those getting this error .
[ONE General] rhaces:
I really don't know what is going on with my phone but that didn't help anyways. I flashed boot and system from 33R in fastboot, went back into TWRP and installed the full 38R and still same issue. I tried every combination (including flash boot, syste, then in TWRP install 33R again) and nothing.

Finally what I did was fastboot flash boot system and recovery, boot into system, apply the OTA from the system and now that worked. Booted into 38R and everything worked ok, so went back to fastboot, flashed TWRP again, went into TWRP and installed supersu and franco 24r and now things seem to be ok.

Thanks for all the help
[ONE General] adlx.xda:
I've modified my alternative instructions in OP, that should fix that (for others) : after fastboot system and boot it seems you need to reboot into Android (what you did). That makes sense actually as it will recompute the xml file that is also checked by the OTA. Then reboot back to TWRP.

I still wonder why it was falling though. You were on cm11-s right? What could have make the htmlviewer file have a different signature? Any idea? (did you apply any modification on top of CM11-S besides root, kernel, Xposed ?)
[ONE General] ronin4740:
Option 1 worked fine on my rooted but otherwise unaltered OnePlus One. Thanks for the guide!
[ONE General] nabolito:
I get an error on the Xposed-installer but everything else goes well. If I remember it was a directory error message...

Envoyé de mon A0001 en utilisant Tapatalk
[ONE General] adlx.xda:
I generated the Xposed Installer zip using Xposed Installer app, and I actually used it when upgrading to 38R. It didn't give me any errors. Strange.
[ONE General] honc:
Is it just me or is the first file from OP not downloadable from cyngn.com anymore? Can somebody provide an alternative download location? Thanks in advance!
[ONE General] vipuljain07:
i was getting this error "Can't install this package on top of incompatible data. Please try another package or run a factory reset" so i did all this as you said

Download and extract the XNP33R fastboot factory image

Boot into fastboot mode (Vol-Down & Power)

Connect your OPO to your computer (USB)

Run: fastboot flash boot boot.img

Then: fastboot flash system system.img

Reboot the phone into Android

Reboot into Recovery (Vol-Up & Power)

After this i tried updating through ota but again getting same error "Can't install this package on top of incompatible data. Please try another package or run a factory reset"

what to do?
[ONE General] zoro25:
Same for me also, I'm just getting XML data.

You could try https://www.androidfilehost.com/?fid=95747613655042878
[ONE General] honc:
Thank you, but this is just the OTA update from XNPRH33R to XNPH38R i need the flashable Factory image of 33R.
[ONE General] gumbo23:
Quote:

First, prepare in your /sdcard the following files:

How do I do that?
[ONE General] adlx.xda:
Same here. I get access denied. Maybe CM is (finally!!) going to publish the factory images for 38R? I'm uploading to Mega right now, but it's going to take a (big) while (3h+)... I'll update here when done.
[ONE General] adlx.xda:
Well it's more of an expression, legacy of older Android times, as this phone doesn't have a true SD card. You just need to download the files to your phone media memory.
[ONE General] Dazm:
Much appreciated!
[ONE General] emailrob:
Great thread thanks. I went from 33Rr to 38R with root intact, as well as all my apps and settings. I had to follow the 2nd version, so thanks for the detailed instructions.

I made a couple of minor edits, hope you don't mind. It would help me as a relative n00b :)

Download and extract the XNP33R fastboot factory image <<<to the folder on your local PC that contains ABD and your other files >>>

Boot into fastboot mode (Vol-Down & Power)

Connect your OPO to your computer (USB)

<<< Open windows command prompt, enter the folder you just saved the files into>>>

Run: fastboot flash boot boot.img

Then: fastboot flash system system.img

<<<Then: fastboot reboot (to reboot the phone into Android)>>>

Reboot into Recovery (Vol-Up & Power)

It should now be fine to continue from step 4 of the steps above.
[ONE General] cosmecca:
Work really good.

Thank you
[ONE General] dstech:
https://www.androidfilehost.com/?fid=95747613655046106
[ONE General] dstech:
Updating TWRP using the play store app helped me with the signature errors when trying to flash. After the update I was able to follow the original instructions without flashing the exposed framework since I didn't have it installed previously! Thanks to the OP for the help!
[ONE General] adlx.xda:
Links to Cyngn.com in the OP have been updated to a mirror (Mega).
[ONE General] zoro25:
To OP,

You sir are a genius.

Thanks
[ONE General] adlx.xda:
Instructions in OP updated with steps to go to XNP44S :D
[ONE General] geri.st:
Omg,

Is there a plausible reason why flashing all back to 33r is necessary?
[ONE General] adlx.xda:
There's no official 38R flasheable zip AFAIK. That's one way to do it. With TWRP you just add zips and flash all in one go, not a real issue anyway.
[ONE General] shinku:
Isn't this the flashable official 38r zip, direct from cyanogen inc

http://builds.cyngn.com/factory/bacon/cm-11.0-XNPH38R-bacon-signed-fastboot.zip

I'm currently on mahdi rom so haven't tried the 44s but will try it tomorrow.
[ONE General] novadi:
Thanks for your sharing
[ONE General] adlx.xda:
It's the official fastboot files. Yes you can flash it with fastboot, but usually people are more comfortable flashing zips in recovery. For previous releases CM also published a zip that could be flashed in recovery, but they haven't done that with 38R. That's why in my instructions I left the official 33R first then two incremental updates, which TBH isn't much hassle.

There's an unofficial 38R zip available also, for those who prefer to use that, instead of going from 33R, to 38R in two zips.
[ONE General] shinku:
Ah stupid me, makes sense. Thanks for the detail info. I flashed using your instructions in OP

, works like a charm
[ONE General] bkfarrell:
Anyone have any ideas as to why I can't seem to get TWRP to stick in 44S? Bootloader is unlocked, boot into the bootloader to flash the recovery. All looks good but when I try to get into the recovery I still get the CM recovery. I can't root my phone that way....
[ONE General] MMWolverine:
Uncheck "Update CM recovery" in Settings - Developer options.
[ONE General] bkfarrell:
It is unchecked. I unchecked it before the OTA came through. I did the same process as the last update.
[ONE General] FlawlessFist:
Im wondering if you could help, as I've updated to the latest 44S and I lost root capabilities. So I went into recovery mode and flashed the zip file and now I still don't have root access and the SuperSu app is gone as well. Root Checker pro shows that my device is ready to have root access. And I am now stuck on what to do. Please Help ?
[ONE General] Danh111:
Re download the SuperSu app from the App Store, leave it to update for a minute then check Root Checker again. I had exactly the same issue and this sorted it.
[Verizon LG G2] xxdaman1200xx:
My verizon LG G2 mic went out. They sent me a replacement phone so now I need to remove root and twrp and set it back to factory defaults. Any help would be appreciated. I did find some info on using the nexus root toolkit but I don't believe it supports my phone.

Thanks!

Android 4.4.2

Kernel 3.4.0-perf lge@android-build

Build KOT491.VS98024A

Software VS98024A
[Verizon LG G2] staticx57:
http://xdaforums.com/showthread.php?t=2432476
[Verizon LG G2] xxdaman1200xx:
Thanks
[Xperia Z3 Compact Q&A, Help & Troubleshooting] greyhulk:
Loving my Z3c so far, but I'm having one weird issue.

My APN settings are correct and I'm getting LTE, but I noticed that I was only getting two bars at home and my dBm was super high compared to my other phones (I normally get full bars with every AT&T phone at home). I rebooted the phone and it came back at full bars, with a really low dBm. Today, I went to work and after I came home, it was down to two bars again with a high dBm. I toggled mobile data off and on and it returned to full bars and low dBm.

Here's what I THINK is happening: I believe that at home, it gets on the 700mhZ LTE network and all is fine, but at work, it gets on 1700. Then it gets stuck on 1700mhz and stays that way until I toggle the connection off/on. It still gets LTE and decent speeds, but the dBm is high and the bars are low. I don't have any other phones that do this.

Does anyone know if there's a way to disable certain bands. On the LG G3, you can turn off LTE bands that you don't want in the phone menu. I'm wondering if there's a way to disable 1700 so this won't happen. Also wondering if anyone else on AT&T is experiencing this. I'm stock, not rooted.

Thanks!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] jazzespresso:
deleted - please go head search for it in XDA, many same resolution provided in other threads (seach quad view mode samsung), plus some custom ROMs come with this mod...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] hundred_miles_high:
Nice one!!!

Works a treat on my 8.4 - thank you so much...

My only observation is that I also had to append com.sec.feature.multiwindow.scalewindow.xml with .bak as well to prevent it from being overwritten.

Quad multiview definitely rocks. With 3 or 4 apps open the resizing is spot on :victory:
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] unfugor:
very nice, thanks, works like a charm
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] konawayne:
Does this work on other ROMS like CM11
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] arcadia2uk:
No, TW only. However, you can use Xposed Installer with the XHaloFloatingWindow module, complemented with either MultiWindow Sidebar, or with Floatifications. Though, you need to stay in Dalvik, as xposed is not ART compatible, yet.

For XHaloFloatingWindow - you can leave all by default, but:

- Popup WindowPopup Dim set to 0

- Popup Behavior - check "Force New Windows in Halo"

For MultiWindow Sidebar:

- Check "Start on Boot"

- In "Select Apps" - add your apps

- In "Drag Launch Mode": select ParanoidAndroid Halo

- In "Tap Launch Mode": select ParanoidAndroid Halo
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] CharFalco:
It's probably a dumb question - but is there any version of this that doesn't need root?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] unclefab:
[MENTION=4758472]jazzespresso[/MENTION]:

you copied everything that is on OP (including the :cyclops: smiley) from my thread there:

http://xdaforums.com/showthread.php?t=2770531

You didn t give credits here, and you didn t even thank me on the original thread..

Easy...

Don t you feel ashamed?:mad:
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] jazzespresso:
that's very common solution if you do search "quad view mode samsung" in XDA? go head search it, I am sure you will find bunch of them look like yours....but because you seem like you think you found some kind of unique resolution and you wanted to patent it...I will go head delete OP post....

thank you for letting me know...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Themes and Apps] unclefab:
Bah, I not talking about a patent, I m talking about a guy (you) that copied and pasted my thread without giving any credits.

You didn t even rewrite it, you just copied an pasted it word for word, and you attached the file I had put in my post.

And now, instead of admitting it, or at least to remain silent, you counter attack and try to make it seems as if I wanted a patent.

You wrote "Thank you for letting me know" , are you kidding me?

You didn t know you were copying my thread?

You know how people like you are called?
[G 2014 Q&A, Help & Troubleshooting] wopr303:
According to Directive 1999/44 / EC establishing states that any terminal that will open the bootloader, is flasheeado or rooted, still legally 2 years European warranty.

There is only one clause in that law, and if for any reason one of the components of the device rooted or flashed fail, the guarantee would be lost only if it is shown that the real reason for failures is itself rooted or flashed.

Does anyone know clarify this issue?

The url of Motorola, said the warranty would be lost, but not if they refer to the territory of the USA only, since we have the policy in the EU
[G 2014 Q&A, Help & Troubleshooting] AngelofDeath69:
Your phone warranty is subject to the location of the country where it was bought from. So if was bought in a EU country, u are covered by EU laws.

Even if motorola is not a european company, they have to agree to the market laws of where the product is sold if they wanna sell there.

only way to be 100% of this would be to either ask the european trade comission directly or try motorola.
[G 2014 Q&A, Help & Troubleshooting] wopr303:
Thank you very much for answering AngelofDeath69

I contacted Motorola Support and I have answered this:

What do you advise me? What would you answer? I start to figure out the answer, if I open the bootloader, I have a problem and try to invoke the warranty, they will refuse to take charge.
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
These Tech-Firms are working with FUD (Fear, Doubt, Uncertainty).

In The EU you have to differentiate between warranty and guaranty. In the EU the warranty agreement is between you and the

vendor

(generally not the manufacturer, except if you bought your device directly from Motorola).

The timespan is 24 months. BUT only in the first six months you don't have to prove a manufacturing error and the vendor has to make sure that you get a working device. After six months the burden of proof reverses and you have to proof that it is in fact a manufacturing error.

In short: Tampering with the bootloader will void your guaranty with Motorola but not the warranty with your vendor.

Look here: Ejercicio de derechos por el consumidor y usuario
[G 2014 Q&A, Help & Troubleshooting] wopr303:
It's clear that the guarantee can not be limited or excluded, even with the agreement of both parties.

The legislation of the FCC limits the legal guarantee of Directive 999/44/CE

With the legal terms that force you to agree to the bootloader abrir are not forced to give up the collateral securing the 1999/44 / EC directive?

The guarantee is not inviolable even accepting their loss both parties?
[G 2014 Q&A, Help & Troubleshooting] AngelofDeath69:
i would suggest to ask here instead:

http://ec.europa.eu/consumers/ecc/contact_en.htm

u prolly get a more straight and legal answer.

For ex in my case, the actual ota update to the phone fcked it up and only way to fix it was straight on unlock the bootloader, cause i srsly cba to return it and wait for a replacement (if lucky), and the problem would prolly just happen again as its not a specific problem to my phone
[G 2014 Q&A, Help & Troubleshooting] wopr303:
Thanks a lot! I have entered by clicking on my country (Spain) and now I can look at the topic in a clear and concise manner.

It's clear that Motorola can not impose a US law in a country that is governed by a different law to the USA, but we all know that companies tend to laugh at consumer rights, often playing with ignorance, or even sloppiness.
[G 2014 Q&A, Help & Troubleshooting] planktoid:
I highly doubt that statement.

OTA will only likely cause an problem if you are rooted. Even if the OTA causes a problem, let's say you are rooted, you can return the device to a signed image without having to unlock the bootloader. So, in short, i don't believe you statement is correct.
[T-Mobile Samsung Galaxy Note II] dabajan:
I rooted and unlocked my T-Mobile note 2 (SGH-T889) and have it running on AT&T network but I need to upgrade my Android version from 4.1.1 to 4.3 and I am wondering how to do this and what rom would be a good one to use.

My Baseband is T889UVALJ1 and kernel version is 3.0.31-598701

Do I use an AT&T rom or a T-Mobile rom?

Thanks for your help!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] androidkid311:
Guys! I'm selling my tab and want to return it to pure stock, like brand new. Is it possible baring in mind its been rooted...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] Airtioteclint:
Flashing a stock firmware tar in odin will do that.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] androidkid311:
Thanks for the reply. Would it get rid of the message "this device has been modified" when trying to update OTA?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] Airtioteclint:
If you have tripped knox it will still stay tripped. But no, ota will should still go through no problems. Even if it doesn't, who cares. That's not your problem anymore lol.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Pawlisko:
pof: probably question for you.

Is it possible to revert Super-CID? To have device with "normal" CID. Is this would require a lot of work?

I am thinking about program with list of CIDs to lock.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] vador:
Why do you want to do such thing??

Everyone want super-cid to unlock the hermes not to lock it with a CID :p
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] VivaErBetis:
In example, to recover the warranty.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] smarty77:
Good idea.. i didnt flash my Vario II because I dont want to loose my warranty!

I even want to buy the program that can manage to recover the Original CID! ;)

I hope someone can develope that piece of software, so i can flash my vario!! :cool:
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] pof:
Next version of the Hermes unlocker will allow you to select if you want to SIM-unlock, CID-unlock or both. I'm working on it, so please be patient :)

Going back to your original CID once you've already set it SuperCID can't be done easily, but if you _really_, _really_, _really_, need it because of warranty reasons, PM me and hopefully we can do anything.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] smarty77:
Pof, you are to good for this world! ;) But i dont need it now, I like to have a apps that re-CID my device before I need to claim warranty.

I dont like the idea that i'm not sure if I can re-CID my device after that I have flashed my vario...

Sorry for the bad english!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Pawlisko:
I do belive that somehow HTC with upgrade to AKU3.x (I hope it is AKU3.x) will find way of locking SuperCID.

And with all information we have got - change of SPL and IPL to prevent Radio upgrade - I belive that it might be problem for all SuperCIDs.

Just want to be on safe side when it will happen.

pof: just think about way of restoring CID - whit is what my guts are saying.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] pof:
All preproduction devices are SuperCID, and HTC will not lock it, it is the way they use to give the operators / manufacturers the ability to do some stuff we 'users' can not do :)

Don't worry about this... they can prevent the radio ROM or the bootloader to be flashed or downgraded, as they did with bootloader 1.09 and softbank's 1.14 radio and most probably will do it with newer radios with radio bootloader V1.008,... but SuperCID will stay there, they will not change your CID with a ROM upgrade ;)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] MilanoRex:
I might send my 8525 back to Cingular for a defective screen, do you guys think they'll deny my claim since I've Super-CID unlocked my phone??
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] honestabe:
i would just hard reset it and send it back.. how would they know??? plus ur not sayin its a software issue.. so i would think they wont be lookin' for that.. im pretty sure they would just make sure it wasnt in water.. and..it didnt look like a dog chewed it.. then they will probably load up software on it and exchange it to someone else... i would just do it.. but thats me
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] qtotter:
well, someone has been refused...

http://xdaforums.com/showthread.php?p=1081701&highlight=refuse#post1081701
[Verizon Samsung Galaxy S 4] jmateo073:
Hey guys, was wondering if anyone on here knows how to re-arrange folder layouts in a different way than the usual stock android layout. I currently use apex launcher I aim running Hyperdrive 18.1 KK 4.4.2 and I love how it works. It is smooth doesn't lag much, I like how I can change the grids and batch adding apps to folders and all that stuff. But what I would lovee is to do is keep my folders content as is, but just rearrange how they are laid out on my home screen. What I am looking to do is something like pie controls but for all of my folders and be able to launch the folder contents as they are right now in my home screen. Is there any quick way to do this. I was looking at the pie control app on youtube but it doest look like I can folders, rather individual apps or shortcuts to wifi and things like that. Hopefully someone catches my drift. I would like to make my home screen more futuristic and different.

Cheers!:good::good::good::cool: