[Q] asseerts with GT-P1000N CM9 - Galaxy Tab Q&A, Help & Troubleshooting

I have a GT-P1000N with the factory default rom, installed CWM Recovery using Heimdall and work perfect, i can enter in recovery, wipe data and cache, but when try to install the rom cm-9.0.0-p1n.zip (get.cm /get/jenkins/5817/cm-9.0.0-p1n.zip) a message saying that an assertion ocurred with the model and cannot continue
I try to do the same with cm10 fro Humeros but with the same assertion problem.
Any help? Any idea?

You can remove the assert lines from updater script.
(META-INF/com/google/android/updater-script)
If on Linux, you can unzip and edit and zip back.
In windows you should open the zip, drag out the updater, edit, and drag back in, because rezipping will screw up the zip due to the file names.
And next time post in Q&A sub forum unless it is a discussion.
Sent from my GT-P1000 using xda app-developers app

Thread moved. Please post in the correct sections. All questions belong here in Q&A.
Thanks
AvRS

SOLVED
c.
priyana said:
You can remove the assert lines from updater script.
(META-INF/com/google/android/updater-script)
If on Linux, you can unzip and edit and zip back.
In windows you should open the zip, drag out the updater, edit, and drag back in, because rezipping will screw up the zip due to the file names.
And next time post in Q&A sub forum unless it is a discussion.
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
Thanks, only for reference to other people have the same issue i shar my procedure:
1. Extracted the files in the zip
2. Open the file updater-script in ./META-INF/com/google/android/ folder
3. Removed the first 3 or 4 lines when the assertion check is made
4. Saved the file and zip the whole directory again (take care to zip inside the folder, without the directory)
5. Continue with the steps of the tutorial.

Related

How to create a cwm flashable zip file

Does anyone know how to create a .zip file that can be flashed through cwm? say for instance a .zip file that contains the cwm recovery? Any help would be great, and thanks to all in advance who reply
Sent from my SCH-I800 using xda premium
I want to know this too. When I take a zip file that flashes correctly and put a different file in the zip folder, like a modem for example, the new zip file won't flash.
modems are tricky in the Galaxy S line, there's been some work i've seen about flashable modems, but almost everything i've read says they always fail to flash. There are tons of tuts about creating CWM flashable .zip on XDA, just do a quick search.
Same here. I would like to create a cwm zip files that contains all my user apps. TB is good in batch mode but would be so much quicker if I could create a zip and do it after flashing rom.
Have to know how to create scripts to do this. The script takes care of where the file you want to install goes in the system. Then there is the META-INF folder.
Too complicated for me. Let us ask Noxxious.
Sent from my GT-P1000 using Tapatalk

[XT860] Help is needed (urgent)

i tried xUltimate to deodexing my XT860 and...... since then ו'm stuck in boot loop
Do you have a bootstrap/safestrap installed?
Sent from my DROID3 using xda premium
Endoroid said:
Do you have a bootstrap/safestrap installed?
Sent from my DROID3 using xda premium
Click to expand...
Click to collapse
i have Safestrap Recovery 1.08
when i:
Safestrap => backup and restore => restore => external SD => (appear)
nonsafe-2012-01-31 (the one i got)
run it, and
checking MD5 sums.....
MD5 mismatch!
boazal said:
i have Safestrap Recovery 1.08
when i:
Safestrap => backup and restore => restore => external SD => (appear)
nonsafe-2012-01-31 (the one i got)
run it, and
checking MD5 sums.....
MD5 mismatch!
Click to expand...
Click to collapse
****ty. I don't know if there is a way to fix that. Do you happen to have the tweaked safestrap that allows flashing the nonsafe
Sent from my XT860 using xda premium
If yes to my last question, just flash the stock bell 2.3.6 rom located in the dev forum. If no then you have 2 options. First it follow the steps in this thread http://forum.xda-developers.com/showthread.php?t=1404608
Or
Use motofastboot to flash a system.img, this will restore the /system, reroot, install bootstrap and then flash the already deodexed stock bell rom I previously mentioned to restore your /system, remove bootstrap, install safestrap and flash either that rom, or the rom of your choice into safe system and use safe system from now on.
Sent from my XT860 using xda premium
You can manually find the MD5s on a computer and edit the MD5 file manually to make it work, its dangerous but it works... I've done it before
DeadChex said:
You can manually find the MD5s on a computer and edit the MD5 file manually to make it work, its dangerous but it works... I've done it before
Click to expand...
Click to collapse
I've had that same problem in the past. How do you manually edit the md5 and how do you know what to change it to. Would I just run the md5 command in terminal and then unzip the backup and modify it?
Sent from my XT860 using xda premium
Endoroid said:
I've had that same problem in the past. How do you manually edit the md5 and how do you know what to change it to. Would I just run the md5 command in terminal and then unzip the backup and modify it?
Sent from my XT860 using xda premium
Click to expand...
Click to collapse
The back up should just be a folder, open the folder, and run the MD5 Command in the Terminal on each of the backup archives (eg cache.ext3.tar, system.ext3.tar) and put them into nandroid.md5
The nandroid.md5 file should hopefully be laid out easily and just replace the hashes (random letters and numbers) with the ones you generated with the correct file's hash
And Restore away!
Endoroid said:
Do you happen to have the tweaked safestrap that allows flashing the nonsafe
Click to expand...
Click to collapse
don't know, how to find out?
boazal said:
don't know, how to find out?
Click to expand...
Click to collapse
V1.08d
Sent from my XT860 using xda premium
Endoroid said:
V1.08d
Click to expand...
Click to collapse
it's v1.08,
what can be done?
Either attempt to fix the md5sum as mentioned above, or restore your system through one of the options I mentioned in my previous post
Sent from my XT860 using xda premium
Endoroid said:
Either attempt to fix the md5sum as mentioned above, or restore your system through one of the options I mentioned in my previous post
Click to expand...
Click to collapse
sorry for bothering, i'm not familiar with the process, can you guide newbi? (preferred flash the rom methods)
people's, please i need assistance.....
boazal said:
people's, please i need assistance.....
Click to expand...
Click to collapse
Im at work but later tonight I will give more detailed instructions
Sent from my XT860 using xda premium
Method- Manually Altering MD5 Sums (Windows) (This guide might be off, Windows is not my home OS anymore...)
1. Plug your SD card into your computer.
2. Open up the directory where your back ups are should be /safestrap/backup/BACKUPNAME
3. Download this tool: http://www.pc-tools.net/win32/md5sums/
4. Drag system.ext3.tar and drop it on top of the applications icon
Write down that MD5
5. Drag data.ext3.tar and drop it on top of the applications icon
Write down that MD5
6. Drag cache.ext3.tar and drop it on top of the applications icon
Write down that MD5
7. open up nandroid.md5 with a text editor it should look something like this:
Code:
2ce2ec3c4beac74ba3fba94fb290ea21 cache.ext3.tar
12296836011615c7f2611e19c9390a78 data.ext3.tar
0589700a289739c448b6ff2e317d7951 system.ext3.tar
Replace the hash next to cache.ext3.tar with the one you generated, and repeat this for the other files...
IF nandroid.md5 does not exist, create it and do as mentioned above.
Then... Restore!
Sorry, I know this isn't the easy reflash you wanted but it's the only guide I can write at this time
(This guide was written going off of safestrap 1.08 you may have to change some titles of files)
Thanks and/or donate if I helped
Method- Manually Altering MD5 Sums (Linux-Ubuntu)
1. Plug your SD card into your computer.
2. Open up the directory where your back ups are should be /safestrap/backup/BACKUPNAME
4. Run md5sum on system.ext3.tar
Write down that MD5
5. Run md5sum on data.ext3.tar
Write down that MD5
6. Run md5sum on cache.ext3.tar
Write down that MD5
7. open up nandroid.md5 with a text editor it should look something like this:
Code:
2ce2ec3c4beac74ba3fba94fb290ea21 cache.ext3.tar
12296836011615c7f2611e19c9390a78 data.ext3.tar
0589700a289739c448b6ff2e317d7951 system.ext3.tar
Replace the hash next to cache.ext3.tar with the one you generated, and repeat this for the other files...
IF nandroid.md5 does not exist, create it and do as mentioned above.
Then... Restore!
You're gonna have to do the leg work to get the files and programs I mention because finding and linking while on my fine is a pita.
There is another option, the easiest of all, however it will remove you from the bell update path as we have no way currently of returning to the stock bell firmware. You can grab rsdlite and a fastboot package from the dev forum and flash that, it will fix it up but you are no longer on bell firmware. Up to you if you can live with that.
The other way is to grab motofastboot (google it) and a fastboot package from dev forum. Unzip the fastboot package into a folder and put motofasboot in the same folder. Motofastboot is a command line utility, it has no user interface. Open a cmd prompt (start button, run, cmd) and type cd C:\your\path\to\aforementioned\folder then run
moto-fastboot flash system system.img (I have the 32 bit version so mine is moto-fastboot32) I dont use windows, onlinux I have to precede the command with ./ so for me it would look like
./moto-fastboot32 flash system system.img
Your phone will now boot
Find zergrush easy root utility and follow the directions for it to root your phone, then install a bootstrap(or the tweaked safestrap that allows nonsafe flashing and then go grab the stock bell rom from dev forum and flash that. It is already deodexed.
this will keep you stock bell
Sent from my XT860 using xda premium
DeadChex said:
Method- Manually Altering MD5 Sums (Windows) (This guide might be off, Windows is not my home OS anymore...)
1. Plug your SD card into your computer.
2. Open up the directory where your back ups are should be /safestrap/backup/BACKUPNAME
3. Download this tool: http://www.pc-tools.net/win32/md5sums/
4. Drag system.ext3.tar and drop it on top of the applications icon
Write down that MD5
5. Drag data.ext3.tar and drop it on top of the applications icon
Write down that MD5
6. Drag cache.ext3.tar and drop it on top of the applications icon
Write down that MD5
7. open up nandroid.md5 with a text editor it should look something like this:
Code:
2ce2ec3c4beac74ba3fba94fb290ea21 cache.ext3.tar
12296836011615c7f2611e19c9390a78 data.ext3.tar
0589700a289739c448b6ff2e317d7951 system.ext3.tar
Replace the hash next to cache.ext3.tar with the one you generated, and repeat this for the other files...
IF nandroid.md5 does not exist, create it and do as mentioned above.
Then... Restore!
Sorry, I know this isn't the easy reflash you wanted but it's the only guide I can write at this time
(This guide was written going off of safestrap 1.08 you may have to change some titles of files)
Thanks and/or donate if I helped
Click to expand...
Click to collapse
First i 'ant to thank you
when i open my nandroid.md5 it was empty
i do the exact method, and create the 4 hash (cache, data, system, systemorig) on nandroid.md5 put it back on the phone, try to restore but ...no success. Still receive MD5 mismatch
when I return the SD carde to the pc, the nandroid.md5 empty again!
Endoroid said:
The other way is to grab motofastboot (google it) and a fastboot package from dev forum. Unzip the fastboot package into a folder and put motofasboot in the same folder. Motofastboot is a command line utility, it has no user interface. Open a cmd prompt (start button, run, cmd) and type cd C:\your\path\to\aforementioned\folder then run
moto-fastboot flash system system.img (I have the 32 bit version so mine is moto-fastboot32) I dont use windows, onlinux I have to precede the command with ./ so for me it would look like
./moto-fastboot32 flash system system.img
Your phone will now boot
Click to expand...
Click to collapse
C:\moto-fastboot-win32>moto-fastboot flash system system.img
sending 'system' (262144 KB)... OKAY [ 25.386s]
writing 'system'... OKAY [ 15.596s]
sending 'system' (175872 KB)... OKAY [ 17.214s]
writing 'system'... OKAY [ 9.043s]
but refuse to boot
boazal said:
First i 'ant to thank you
when i open my nandroid.md5 it was empty
i do the exact method, and create the 4 hash (cache, data, system, systemorig) on nandroid.md5 put it back on the phone, try to restore but ...no success. Still receive MD5 mismatch
when I return the SD carde to the pc, the nandroid.md5 empty again!
Click to expand...
Click to collapse
Linux or Windows? Esure you are safely ejecting (windows) or unmounting/ejecting (Linux) before removing the SDCard, I've noticed file changes sometimes don't stick if you don't safely eject.
I'm not sure if the method I'm giving is a soloution anymore with the reflash (That's not a bad thing!)

Help.

Holla amigos...
I need help........again.
See, I'm creating my own rom and my base uses blackhawk. I want to change this to firekernel. I searched xda and Google but I couldn't find anything. All they talk about is how to flash another kernel. I want to know how to include it in rom before flashing. And also, could someone tell me the .XML that is used for Modding the lock screen.
Sent from my GT-S5830 using xda app-developers app
Inside the flashable zip (any flashable zip) you'll find several folders and files. To see where each file gets flashed to, look inside the META-INF folder and search for a file called "updater script".
Its the updater script the one that indicates where each part of the zip will be flashed, so open it with a text editor, take notes where each file ends up, and copy them to their location inside your rom.
dxppxd said:
Inside the flashable zip (any flashable zip) you'll find several folders and files. To see where each file gets flashed to, look inside the META-INF folder and search for a file called "updater script".
Its the updater script the one that indicates where each part of the zip will be flashed, so open it with a text editor, take notes where each file ends up, and copy them to their location inside your rom.
Click to expand...
Click to collapse
And at the start, through dsixda kitchen updater script was converted into update script. Is it the same? Okk. And what about including scripts, I want adrenaline engine. I downloaded the zip. Ignored the Meta -inf and copied the system folders inside the system folder of the working project....Am I right?
Sent from my GT-S5830 using xda app-developers app
If you're using the kitchen its OK, you can add any flashable zip that way, copying the files and folders to their respective location inside your Project. Checking the updater script is only necessary when in doubt of where each thing goes.
Don't use kitchen's updater script and binaries.They won't work,could even brick the device.To change kernel,download firekernel and replace the boot.img in that pack with the one in your rom.Boot.img is the kernel.Scripts go in init.d
Prawesome said:
Don't use kitchen's updater script and binaries.They won't work,could even brick the device.To change kernel,download firekernel and replace the boot.img in that pack with the one in your rom.Boot.img is the kernel.Scripts go in init.d
Click to expand...
Click to collapse
Hey. Thanks for that. Please help me out here: http://forum.xda-developers.com/showthread.php?p=28891130#post28891130

[Q][P1000 (XEU)] Need stock ROM

Hello,
Recently I tried to flash (using HumberOS) from CM9 to CM11.
The install failed due to an assert failure, so I looked it up on XDA and found an answer: format /system and /data on a HumberOS thread.
It worked, until it got to the stage to detect the device.
It tried testing for a .prop device model, but mine was "" (empty).
I tried editing the update-script file, but only to find that it said .zip was bad or the installation aborted for no reason.
I thought I could restock, only to find that FUS could not find a link and SamFirmware (SamMobile) said "File not Found".
Does any one have the UK stock ROM (I tried some more links on XDA, but instead an advert replaced the window with software (malicious))?
A Heimdall flashable file would be nice, as I am on OS X.
I have 30% battery left too and the battery icon appears but freezes.
P.S. Also, why does it say the .zip is bad? I'm using Store mode in Keka... I thought that was the right method... Maybe the default .zip method (compressed) will work? I don't want to waste the battery...
You should use 7zip.
Open the zip but don't extract.
Drag out only the updater script and edit it.
Then drag it bag into the zip.
Android is linux based. The file names are case sensitive. Unzipping to windows will destroy that.
Sent from my GT-N7100 using xda app-developers app
priyana said:
You should use 7zip.
Open the zip but don't extract.
Drag out only the updater script and edit it.
Then drag it bag into the zip.
Android is linux based. The file names are case sensitive. Unzipping to windows will destroy that.
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
I fixed it ages ago (I can't remember what I did). Anyway, I don't think this is the problem as OS X has the same basic file structure as Linux, and I am using Keka which is based on p7zip.
EDIT: Sorry, that makes sense now, as HFS+ is not case sensitive unless you set it up that way when you format the disk.

[Q] Trying to root and I'm stck, Odin can't see the .tar.md5 file

Hi guys, I'm trying to root by following this guide http://forum.xda-developers.com/showthread.php?t=2147852&highlight=root
So I downloaded everything from the links given there (Odin 3.04 and the cmw file. However when I'm on step 9
9- press the PDA button and select the unziped file from step (1)
Click to expand...
Click to collapse
I click on PDA and the cmw file doesn't show in the location I left it. I tried moving it to desktop but doesn't work either. Any ideas please?
Thanks a lot
The CWM file's extension is .img, isn't it?
Sent from Tapatalk on my GT-I8190 running MaclawStudio's Carbon 4.4.2
Did you do unzip
Sent from my GT-I8190 using xda app-developers app
No, I hadn't, see here I'm confused. Step 1 says unzip, but Step 9 says select unzipped file, so which should it be?
To decide, I did a little research and found out Odin should open .tar and .tar.md5 files directly, so I figured it wasn't necessary to unzip.
Anyway it doesn't find it either way, I just tried unzipping but I can't find the .img file with Odin either =/ What am I doing wrong?
.rsrc folder
One more thing, when I try to open the Downloads folder where I left the .tar file, all I can see through Odin is this .rsrc folder that apears to be empty.
Try to download it again
And unzip it
Sent from my GT-I8190 using xda app-developers app
Solved!
Thank you both, I figured it out! I know it's dumb...but I didn't realize you had to run everything in Administrator mode (apparently). I tried this and it worked, it seems I was running Odin as Admin but in a non-Admin account and the files were hidden or something...
Anyway, sorry to bother you with my dumb question, but I hope this can help another dumb noob like me!
I'm ridiculously happy with my brand new CM 11 now, time to play with it!

Categories

Resources