yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] nikagl:
I noticed that too, but as the cache file contains the correct script and csc zip I doubt it's that file. Plus, that cache image is also in the stock rom...Last but not least, be careful modifying stuff in csc as that could kill your phone afaik :D

I have also unpacked the recovery.img from the xxkps and cranium rom (the latter one has the android too after installing my odin package :D) but neither contain an update.zip. The big question is what the Odin installers of a stock rom does differently compared to the combination of stock and custom rom the way we make the odin packages. It has to be something in system.img.ext4, recovery.img or boot.img as those are the ones we "custom created" compared to the stock rom...

I'll unpack boot.img too to see what is in there :)

Regards,

Nika.
[Galaxy S Plus I9001 Android Development] nikagl:
Hmmm... I think this is taking a little longer than expected. So... I extracted boot.img and I see several differences in the init.rc (many can be explained ;)):

1. Cranium has tun.ko added

2. XXKPS has part where mmcblk0p17 (/data) is checked

3. XXKPS has part where pmem_hdmi is set to system permissions (for TV out judging from the comment - weird)

4. XXKPS and Cranium use different bootanim (Cranium = bootanimation and samsung = samsungani)

5. Cranium has some extras for initd...

Furthermore XXKPS has an extra file called "recovery" (Cranium has extra file called tun.ko which again is explainable, and e2fsk which I guess is used for checking the filesystem as a replacement of item 2 above!?).

Honestly I think we should ask people like sakindia123 and manveru0 whether they know what causes this...
[Galaxy S Plus I9001 Android Development] somboons:
Hi nikagl.

Could you guide me abount make odin file for Tab8.9 or help me make scipt for tab8.9?

as below reslt of mount from tab8.9

shell@android:/ # mount

mount

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mmcblk0p4 /system ext4 ro,relatime,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p5 /cache ext4 rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p8 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard 0 0

/dev/block/mmcblk0p1 /efs ext4 rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered 0 0

/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

shell@android:/ #
[Galaxy S Plus I9001 Android Development] nikagl:
Hi Somboons,

I am actually not an expert in what Odin does and how it works, I only created some script to automate the tasks using info from others.

Nevertheless, here's some info for you:

1. You will need to have another Odin based ROM for the tab8.9. For these scripts I use a stock ROM from Sammobile which contains the right files:

adsp.mbn

amss.mbn

cache.img.ext4

preload.img.ext4

These files need to be in the baserom folder for the script to build a correct package.

2. To build the Odin package you need three more files, which are exctracted from a device that contains the custom ROM you want to make an Odin package for. So, you first create the device just the way you like it (off course without any user data in it) and extract the three additional packages:

boot.img

recovery.img

system.img.ext4

Where in your case you would have to modify "adb-ExtractRom.cmd" so it extracts the packages from the right locations. Replacing system is easy, you already have the right partition in your script (/dev/block/mmcblk0p4). But bot boot and recovery I could not find the correct partition names for. So... unless you find the right partition locations for boot and recovery, you'll not be able to make an Odin package (or maybe simply use the boot.img and recovery.img of another Odin ROM, I guess that should work also, but you'll have the boot.img and recovery.img of that specific ROM).

Good luck!

Regards,

Nika.
[Galaxy S Plus I9001 Android Development] broodplank1337:
Interesting information :) The only problem is that no one in the i9001 forum is an Odin expert. (we should actually ask a samsung developer, but I think they might not answer that) It's highly experimental for all of us, I like it tho since It has a really high change of succeeding compared to Installing Roms trough CWM. Odin always worked for me, never got any brick/bootloop/hang in recovery. CWM (flashing cranium) caused me a quadrillion bootloops.

btw, I'm thinking of making an app which convert CWM flashables (like extended status bar mod, no roms tho) to an on-the-fly installation (which requires zero manual operations :D) But first have to make broodROM Configurator more stable ;)

Idea's Idea's Idea's, I wish someone in this forum knew AutoIT language (easy mode programming) / Batch, and wanted to help me developing broodROM Configurator ^^
[Galaxy S Plus I9001 Android Development] despotovski01:
I would be happy to help you. I only know Visual Basic.NET, but I read that AutoIT has BASIC syntax, so I might be able to do some scripts. :cool: I'm really good at VB.NET, so if you need any help, just ask. :)
[Galaxy S Plus I9001 Android Development] broodplank1337:
Thanks for your interests :), here is an example of AutoIT script (the GPS part of broodROM Configurator)

The GUI Part:

GUICtrlCreateLabel("Choose a GPS Server:", 410, 200)
$gpserver = GUICtrlCreateCombo("North-America (Default)", 410, 215, 295, 20, $CBS_DROPDOWNLIST)
GUICtrlSetData($gpserver, "Asia|Europe|Oceania|South-America|Netherlands|China|Russia|India|UK|Germany|France|Japan|Italy|Poland|Malaysia|Korea")
$installgpsserver = GUICtrlCreateButton("Install", 710, 214, 80, 22)

The execution part:

If $msg = $installgpsserver Then

$readgps = GUICtrlRead($gpserver)

If FileExists(@ScriptDir & "\src\gps\gps.conf") Then FileDelete(@ScriptDir & "\src\gps\gps.conf")

If GUICtrlRead($gpserver) = "North-America (Default)" Then $readgps = "north-america"
If GUICtrlRead($gpserver) = "Europe" Then $readgps = "europe"
If GUICtrlRead($gpserver) = "Asia" Then $readgps = "asia"
If GUICtrlRead($gpserver) = "Oceania" Then $readgps = "oceania"
If GUICtrlRead($gpserver) = "South-America" Then $readgps = "south-armerica"
If GUICtrlRead($gpserver) = "Netherlands" Then $readgps = "nl"
If GUICtrlRead($gpserver) = "China" Then $readgps = "cn"
If GUICtrlRead($gpserver) = "Russia" Then $readgps = "ru"
If GUICtrlRead($gpserver) = "India" Then $readgps = "in"
If GUICtrlRead($gpserver) = "UK" Then $readgps = "uk"
If GUICtrlRead($gpserver) = "Germany" Then $readgps = "de"
If GUICtrlRead($gpserver) = "France" Then $readgps = "fr"
If GUICtrlRead($gpserver) = "Japan" Then $readgps = "jp"
If GUICtrlRead($gpserver) = "Italy" Then $readgps = "it"
If GUICtrlRead($gpserver) = "Poland" Then $readgps = "pl"
If GUICtrlRead($gpserver) = "Malaysia" Then $readgps = "my"
If GUICtrlRead($gpserver) = "Korea" Then $readgps = "kr"

FileWrite(@ScriptDir & "\src\gps\gps.conf", "NTP_SERVER=" & $readgps & ".pool.ntp.org" & @LF)
FileWriteLine(@ScriptDir & "\src\gps\gps.conf", "XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin" & @LF & @LF)
FileWriteLine(@ScriptDir & "\src\gps\gps.conf", "XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin" & @LF)
FileWriteLine(@ScriptDir & "\src\gps\gps.conf", "XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin")

Run(@ScriptDir & "\src\pushgps.bat")

EndIf

The batch part:

@echo off
title broodROM Configurator
echo.
echo Pushing GPS Settings
echo Make sure your phone has debugging mode enabled
echo.
cd /d %~dp0
adb root
adb wait-for-device
adb remount
adb -d shell mount -o remount rw /system
adb push "gps/gps.conf" "system/etc/gps.conf"
adb -d shell chmod 0644 "/system/etc/gps.conf"
echo.
echo Done... A reboot is necessary for the changes to take effect
pause

As you see the syntax is very easy, If you want to help developing broodROM Configurator pm me pls and we will talk about it ;)
[Galaxy S Plus I9001 Android Development] nikagl:
Yeah, was thinking about creating it from a cwm package too. Shouldn't be too hard (unzip system and create ext4 image with it's content) but requires linux. I doubt cygwin is capable of creating an ext4...

If you need help with broodROM, i'm always there. Maybe create a development topic for it? I'll definitely help. And maybe sometime I'll contribute too (like we talked about)... but time is a bit rare atm...
[Galaxy S Plus I9001 Android Development] broodplank1337:
Thanks :). I think I will make a development topic for it soon, and my time is rare to atm :P, but that will change in 1 week (internship of 40 hours/week finished)

btw, do you mean broodROM development or broodROM Configurator development? Because the configurator gets 100% priority right now
[Galaxy S Plus I9001 Android Development] despotovski01:
Looks like I would have to get to know AutoIT and Batch a bit better. ;)
[Galaxy S Plus I9001 Android Development] nikagl:
broodROM configurator for sure, as the broodROM dev thread already exists ;):D
[Galaxy S Plus I9001 Android Development] nikagl:
Hi all,

Instead of adding it to this thread, I created a new thread for the CWM recovery method of creating an Odin file! Hope you like it :)

Go here:

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

Regards,

Nika.
[Galaxy S Plus I9001 Android Development] FlorisNL:
Question.. Which file do I have to upload if somebody want to flash it? the tar.md5 or the tar?
[Galaxy S Plus I9001 Android Development] nail16:
tar.md5 always :o

if you want them to flash it via odin
[Galaxy S Plus I9001 Android Development] rayiskon:
tar.md5 ..
[Galaxy S Plus I9001 Android Development] FlorisNL:
thanks mates ((:
[Galaxy S Plus I9001 Android Development] broodplank1337:
Cannot connect to daemon. never seen it before. have you installed samsung usb drivers?

any change adb is blocked by your firewall? (or whatever)
[Galaxy S Plus I9001 Android Development] ramzidjoudi:
thank you for reply

samsung usb drivers are successfull installed

i can use the adb sheel for well

edit : ignore this i have done with other tuto i work fine

http://xdaforums.com/showthread.php?p=25158976#post25158976

thank you
[Epic 4G General] kzuH:
What's OTA?
[Epic 4G General] poit:
Over The Air....an update received over cell or wifi instead of installed by tethering the phone to computer.
[Epic 4G General] freedomfighter2006:
Quick and easy answer, THANKS.

Delete Thread.
[Epic 4G General] Gavisann:
Why delete the thread? ...
[Epic 4G General] algorhythm:
No? Why would an answered question be deleted?
[Epic 4G General] ugothakd:
Because its in the wrong section.

sent from my always aosp epic
[Epic 4G General] TeMpTiN:
I am sure some one else will ask this question but with any luck they will search first and this thread will help them out.
[Epic 4G General] KennyG123:
Ha...you are asking a lot...LOL.
[Epic 4G General] tazfanatic:
I lol'd too
[Epic 4G General] PG101:
Moderator Message

You guys had fun yet? :p

Great!

Thread Closed!
[G Tablet General] qkster:
Hi all.

I found this look through the Kindle thread.

I didn't know it existed until now.

Check it out...looks interesting.

http://www.youtube.com/watch?feature...&v=xMdj_QzfGmw

http://teamw.in/project/twrp2
[G Tablet General] Pawnty:
Naice! Just read about this on AndroidPolice but didn't see that video, nice to see it working right off the bat on a Gtab :D
[G Tablet General] fosser2:
wow neat! I wonder what android kernel version this is based of off...
[G Tablet General] qkster:
Yeah..I bit the bullet and DL it and followed directions.

I couldn't boot into recovery.

It hangs at the birds.

Normal boot runs the underlying ROM fine though.

I'm on a 1.2BL. Was running a series of FB from 8.0 to 10.1 without NVFlashing.

I had only factory reset and wipe and booted into Beasty/Clem Ultimate as the latest ROM. (This FROYO is very fast and stable btw...)

Tried the TWRP 2.0 but couldn't get it to work either.

It's on the YT video though. Obviously it works

I wonder maybe they were on the 1.1 BL...

Anybody running 1.1BL confirm this recovery works?
[G Tablet General] rajeevvp:
Works fine on the 1.1 bootloader.
[G Tablet General] qkster:
Yup, confirmed by Jazzruby.

only for 1.1 BL.

JR did emailed TeamWin re: possible 1.2BL application

thanks..

how do you like it btw?
[G Tablet General] aabbondanza:
Looks like they just changed one of the 2 links...both were pointing to the same 1.1 file yesterday.

Now one points to twrp-harmony-12-2.0.0RC0.zip (1.2) & the other to twrp-harmony-11-2.0.0RC0.zip (1.1).

Al
[G Tablet General] qkster:
will give it a try...thanks
[G Tablet General] rajeevvp:
It's a (newly compiled) stock VS kernel for 1.1 and a clemsyn kernel for 1.2 bootloaders.

---------- Post added at 09:02 PM ---------- Previous post was at 08:45 PM ----------

It's easy enough to insert a 1.2 kernel into any recovery partition since the both the boot and the recovery partition on the gTab has an identical structure (necessarily so).

1. Download any of pershoot's kernel zips.

2. Replace the kernel/zImage file in the zip file with either a stock 1.2 kernel from an existing recovery image (Or, just use pershoot's 1.2 kernel).

3. Edit META-INF/com/google/android/updater-script and

a) get rid of the lines involving /system

b) change the string "boot" to "recovery" in the first run_program() and the write_raw_image() directive.

4. Pack everything up into a zip file and then just flash it.

Works as advertised.
[G Tablet General] timbck2:
Has anyone else gotten this to work? I flashed it and now I can't boot into recovery - my GTab just hangs at the three birds (with the message about the recovery key being pressed at the top left). I can boot into Flashback just fine, just not recovery. I'm on BL1.2, and I downloaded TWRP 2.0 for BL1.2 and followed the instructions.
[G Tablet General] rajeevvp:
This is a TWRP screwup. Both zip files have identical MD5/SHA1 checksums, which means that both have the same recovery image, and hence, the same kernel--ie. a 1.1 kernel.

This was the reason for my post, above.
[G Tablet General] timbck2:
Ah, I see. Did they give any indication when you contacted them that they were going to fix this? I don't know how to replace the kernel in the recovery.img file myself (I can't seem to find anything that can extract or mount the .img file so I can modify it).
[G Tablet General] rajeevvp:
Haven't contacted them--I'm running on a 1.1 bootloader, and, as I said, the problem is easy enough to fix on your own.

You don't need any tools if you have a 1.2 kernel ready; otherwise you need the unpackbootimg program.

See post #9 and just use a pershoot 1.2 kernel.
[G Tablet General] timbck2:
I contacted them, and they say the zip downloads have been fixed. I checked, and the BL1.2 download has been updated. I can't try it until I get home this evening, but I will and I'll post the results.

Update: After NVflashing and then installing TWRP 2.0 from the new download, it works as advertised. Very nice! One thing I'm disappointed about is that it doesn't appear to recognize CWM backups.

Update #2: The next time I rebooted and tried to go into recovery, my GTab wouldn't boot again; it got stuck at the three birds image, and did NOT give me the message about the recovery key being pressed. Even worse, it refused to boot normally after this - essentially, it appears that TWRP soft-bricked my tablet. I'm NVflashing again and going back to CWM. Very disappointing.
[G Tablet General] qkster:
Same here...

I had NVflashed back to 4349.

Comfirmed the stock 4349 worked.

Booted into cwm.

Wiped everything in cwm. Partition 4096 then back to 2048/0

Aplied the twrp update.

Booted into recovery.

TWRP 2 looks great. The menu and screen is responsive.

Tried wiping with it...looks good

I then flashed a rom with it...Beasty/Clem Ultimate to be exact.

Installation reported complete.

Booted up and...got the birds....nothing else...

Tried going back in recovery... recovery is also gone too...

Soft bricked...

Good thing I know how to nvflashed back to stock but for someone new to gtablet, twrp2 may be bad news.

I saw a few post with people having twrp2 installed...has anyone successfully install a rom with twrp?
[G Tablet General] wd5gnr:
I have gone total brick (no boot, no recovery) twice and both times TWRP2 was loaded. I can't prove it is the cause, but I never had that problem before even with heavy duty flashing of ROMs etc.

However, all you really need to do is clear the MSC partition.

Use the --getpartitiontable command in nvflash and figure out what your MSC partition is (mine was #7). Then grab a "stock image" and flash its MSC partition (look in the cfg file, usually 7 although my true blue stock was at 6) into partition 7 with --download.

That has fixed it with no data loss every time for me.

Meanwhile, I've gone back to cwm.

Oh, I should say that TWRP2 did work most of the time. But sometimes I would reboot and just hang permanently until MSC gets reflashed.

I liked it in general, although it looked on the internal SD and not external like the version of CWM I have does. Would be nice to either pick or have a 2nd version. But if it keeps corrupting MSC and hanging the box, it isn't worth the trouble. CWM is clunky but fine.
[G Tablet General] rajeevvp:
It's better to wipe it clean using the ``--format_partition'' flag to nvflash instead of relying on someone else's partition images.
[Galaxy S II Themes and Apps] verbaltech:
Ive searched the forums for, how to's on boot animation but there are loads of threads regarding already made boot animations and i couldn't find a tutorial.

Hi all helpfull i want to contruibute by making some, hopfully, awsome bootanimations for the sgs2 international version. some quick questions

i have found this tutorial (http://www.addictivetips.com/mobile/how-to-change-customize-create-android-boot-animation-guide) but i cant seem to find the mentioned bootanimation zip in /system/media

Q0: is this above mentioned guide still up to date and can i use it to learn me hw to make a boot animation for my sgs2.

Q1: wich app can i use to find it? Astro file manager or do i NEED the payed app root explorer.

Q2: i also had cm 7.1 rom on my sgs2 where i found a custumbootanimation zip in a backup folder. when i tried extrating that on my windows based laptop with winzip and also with 7-zip i could not extract it. i got a message saying it wasnt a archive.WHAT am I doing wrong?

Q3: if i finnally get a working boot animation will it work on other devices such as samsung nexus or even more important will it work on future ics ROM?

what i am working on : http://www.4shared.com/folder/R5t_VY7P/_online.html
[Galaxy S II Themes and Apps] rustyguy:
Q0, it will work

Q1, just get root explorer already

Q2, no idea I have no problems opening the bootanimation files I come across, possibly this particular file is corrupted?

Q3, its all about the screen resolution, if you have a bootanimation it has a specific resolution, the phone you wanna load it on will require that resolution or greater. If greater then it just won't fill the screen.
[Galaxy S II Themes and Apps] nutmegy:
you need to find a rom which supports a modded bootup animation..

otherwise there will only be a bootanimation.qmg..

you cannot edit that as it is somekind of proprietary video format..

You probably wont be able on stock ROMS.. unless stated in forum
[Galaxy S II Themes and Apps] verbaltech:
it is definatly not corrupted because my cm 7.1 boot animation works perfectly.

so ifeel like maybve i am going to pay for root explorer and then find out i have an different problem to prevent me from making and testing custom boot animations

what i am working on :http://www.4shared.com/folder/R5t_VY7P/_online.html
[Galaxy S II Themes and Apps] riksbudy:
any link for bootanimations?
[Galaxy S II Themes and Apps] verbaltech:
yes there arre loads to be found under android themes and apps. once you are in that forum just "search" that forum for boot animaton also if you go to the tutorial of wich i posted a link in the first post, it has loads off already made boot animations.

keep in mind that it could be ROm and device specific i dont know.

good luck!

If yiou think i was helpfull just klick the thankk you button, costs nothing but a click.
[Galaxy S II Themes and Apps] verbaltech:
PNG image file size
[Kindle Fire General] Mantra Locust:
I received a Kindle Fire as a birthday gift yesterday, and have went step by step through a number of guides to try and root the device to no avail. I'm thinking the problem involves the steps where you do adb kill-server, then adb devices. When I type in adb devices into command prompt It will say something to the effect of 501A005220001 and then beside it, it will say offline. I know I have the correct USB drivers and have edited all the files properly, but no matter what I do it always says it's offline, so when I get to the point where you use SuperOneClick, it will kill the adb server, restart it, then freeze.

Has anyone else had this problem or know how to fix this so I can root my device? I would greatly appreciate whatever help I can get!
[Kindle Fire General] Mantra Locust:
I found by simply changing which USB port I was plugged into fixed the problem. :D
[General Questions and Answers] robg37:
I've read that it's a good idea to backup the efs folder, but it seems to be empty in my C Spire Showcase. It's running 2.2.1 (EE25) and is rooted. I've tried looking for an option within red CWM, using Root Explorer, using terminal, and using ADB, but everything shows it as being completely empty.

Am I missing something very obvious? Thanks.
[General Questions and Answers] robg37:
Could it be that it hasn't been mounted, for some reason? I'm wondering if it's one of the devices listed in /dev/block/, and /efs is the directory used as the mount point. But I don't know how to determine what the devices are.
[Samsung Galaxy Nexus] onicrom:
IMHO the best baseband radio version I've used for signal and battery life is:

i9250xxkk1

I've tried these so far:

i9250xxkk6

i9250ugkl1

What is everyone else finding?
[Samsung Galaxy Nexus] joshnichols189:
I like that baseband when using 4.0.1, however when I switched to ARHD 2.1, I found xxkk6 was very good for battery life.
[Samsung Galaxy Nexus] onicrom:
i was using k6 for a while on ARHD and MCR and battery life was not great i flashed the U radio and kind of had the same experience. flashed back to k1 and everything is much better

keep in mind im on tmobile

YMMV
[Samsung Galaxy Nexus] jetrii:
For my phone/location, XXKK6 > XXKK1 > UGKL1. Shame really, you would think that a baseband made for North America would be good in North America. I guess it just varies from device to device. I still have to try XXKK7.
[Samsung Galaxy Nexus] joshnichols189:
I am also on T-Mobile ;)
[Samsung Galaxy Nexus] [hfm]:
Not sure that it was made for NA as there is no such thing as an NA version of it. They are all derived from the UK model.

Edit: it wouldn't matter anyway, the phone supports the bands it supports.