yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Same file. I also installed cwm from market and enabled quick recovery and it worked
[Galaxy Tab 8.9 SGH-i957 Android Development] JayWheelz:
I thought cwm from the market causes our tab to go haywire. Is it the as what utkanos did or a different version?
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
You can install the program just don't flash its recovery. Go into options and enable quick recovery
[Galaxy Tab 8.9 SGH-i957 Android Development] JayWheelz:
Yeah I've been using quick boot from the market.
[Galaxy Tab 8.9 SGH-i957 Android Development] modestone:
Any updates?

I'm finally done moving so should be available again.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Development is done until we get more testers
[Galaxy Tab 8.9 SGH-i957 Android Development] Ikaro:
Recovery

Ok guys

I installed the recovery in my new SGH-I957 and all went well, now I have only tried the "wipe Dalvik cache" and it works great!

Utkanos Thanks for the work done! ;)

Max
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Try to make a backup
[Galaxy Tab 8.9 SGH-i957 Android Development] Ikaro:
First testing the backup, the tablet hangs while copying the file "android.hardware.location.xml"

So I created the file ".hidenandroidprogress" (with Polaris office) and I have saved in the dir "clockworkMod/backup." I tried again to backup and it worked.

Now I have to try a restore, but I will tomorrow or the next!

Max
[Galaxy Tab 8.9 SGH-i957 Android Development] modestone:
Awesome!

Look forward to hearing the results of the restore!
[Galaxy Tab 8.9 SGH-i957 Android Development] modestone:
So was a restore successful?

If so, I may factory reset mine, root, wipe all the junkware/bloatware, garbage bookmarks, do my browser tweaks, a few other random bits and pieces, and post it up here as a cleaned up, rooted stock rom.
[Galaxy Tab 8.9 SGH-i957 Android Development] chonkers:
Don't have the success of installing it.. it said is a wrong tar or md5 file and it soft bricked it.. guess I'll wait for the next update.. thanks again
[Galaxy Tab 8.9 SGH-i957 Android Development] lufc:
Will give this a Sticky and thanks for doing it:)
[Galaxy Tab 8.9 SGH-i957 Android Development] Ikaro:
Restore works!!

Ok modestone this is for you (and for all).

My actual SGH-i957 configuration:

Backup:

Wipe/factory reset:

Original SGH-i957 configuration:

Restore:

Et voilà, my original configuration:

Restore works!

Max
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
nice job max!

---------- Post added at 07:17 AM ---------- Previous post was at 07:15 AM ----------

you are on the I957 correct (judging from your sig i take it as yes)?

you flashed it in the PDA slot?

In my experience whenever it said 'wrong tar or md5' it wouldnt even flash.
[Galaxy Tab 8.9 SGH-i957 Android Development] modestone:
Huzzah!

I think I know what I will be doing this weekend....
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
the device doesn't wipe clean very well. i have a lot of old folders left over even after wiping data/factory reset.
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Given an i957 by my employer yesterday. Rooted via orlandoxpolice's guide/Da_G's kernel and flashed this recovery. Backup worked without a hitch.

Thanks to all that are supporting this device. Willing to help in any way possible.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I should have a ROM in a few hours, or tomorrow, if you are willing to try.
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Ready and willing. I run a captivate and a galaxy s2 i777, so I'm quite familiar with samsung devices.

Curious what launcher you've chosen for your rom? Touchwiz seems particularly crappy/laggy in honeycomb...I had a xoom and I was satisfied with the AOSP launcher, so I never really looked into alternative launchers with good tablet support.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
im very happy with adw ex as my launcher of choice.

but i would let people decide on their own, which is why im not putting a custom launcher in.

it is easy enough to get either go, adw, or launcher pro, so im not too concerned. if you are at the point of flashing a custom recovery to then flash a ROM then I am going to give you the credit to customize your homescreen the way you want it, lol...
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
I was just curious as to your opinion. I just took the galaxy tab out of the box a few hours ago so I hadn't had the chance to play around with any launchers yet. Didn't know if any were particularly suited to honeycomb. Looking forward to seeing what you're working on.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
i highly recommend ADW EX. All lag is gone.

---------- Post added at 02:26 AM ---------- Previous post was at 01:52 AM ----------

ugh

whenever i go to install i get :

E:Error in /sdcard/file

(status 0)
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Did you create your own update script or pull one from somewhere else? I seem to remember getting that same error when putting together a call recording package for the captivate. I can't remember what the issue was for sure but I think it had to do with the way the script was calling the internal vs. external SD.
[Galaxy Tab 8.9 SGH-i957 Android Development] modestone:
another vote for adw ex, great launcher!
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
I agree. However there are things about the stock HC launcher that I really like...namely the ability to touch the edges of the screen to progress thru homescreens and the layout of the app drawer and google search. So I pulled the 3.2.4 launcher from the Overcome rom and flashed that. Pretty nice, but I might go back to ADW.

I think it might be the way you are mounting system and data. Obviously I could have pushed the 3.2.4 launcher via ADB or root explorer, but I wanted to see if I could create a flashable zip that would work for CWM. Here's the code I cobbled together and it works without any issue.

ui_print(" ");
ui_print("**************************************");
ui_print("* Flash Test *");
ui_print("**************************************");
ui_print(" ");

ui_print("Mounting system...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p24", "/system");
ui_print(" ");

ui_print("Installing APK...");
show_progress(0.500000, 60);
package_extract_dir("system", "/system");
ui_print(" ");

ui_print("Unmounting system...");
unmount("/system");
show_progress(0.200000, 0);
ui_print(" ");

ui_print("**************************************");
ui_print("* Enjoy! *");
ui_print("**************************************");

I know this is really basic, but hopefully it leads you in the right direction.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Thanks for the help scarchunk. ill have to write the update script myself it looks like.
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
All credit should go to alterbridge86 and the devs in the skyrocket forums. I pulled the apk from alterbridge86's rom and figured out the system mount from looking at the skyrocket update scripts since our devices are pretty identical. You could probably just look at an update script from one of the samsung based skyrocket roms and you'd be all good on your rom.

I'm a microsoft sys admin, so my linux/android tinkering is somewhat basic..i.e. I copy/paste alot..lol
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
The file system in the tab is different from the skyrocket though which sucks. Utkanos knows better than I do, Ill have to talk to him.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
scar, did you flash that zip you made through CWM? you have the 8.9 LTE right?
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Yep. Flashed via CWM and I have the i957 8.9 LTE.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Did you have an update binary with it?
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Yeah Ill upload it when I get back home.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
alright great, with your binary ill try to flash my ROM.
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Here you go. For some reason I'm not able to attach it to my post even though its below the size limit.

http://dl.dropbox.com/u/35529167/HCLauncher.zip

This is the launcher from overcome in case you want to give it a try. Hope to see your rom soon. I'm curious as to what you have planned. I've been looking into some build.prop tweaks and deodexing/zipaligning the rom from sammobile. I assume your doing the same, so no reason to double the efforts.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I'll flash that zip and let you know what happens. If it works then ill just use the binary from it with a modified updater script.

this is the filesystem layout (courtesy of utkanos)

# mount point fstype device [device2]

#/tmp ramdisk
/boot emmc /dev/block/mmcblk0p8
/cache ext4 /dev/block/mmcblk0p25
/data ext4 /dev/block/mmcblk0p26
#/misc mtd misc
/recovery emmc /dev/block/mmcblk0p22
#/sdcard vfat /dev/block/mmcblk0p28 /dev/block/mmcblk0
/system ext4 /dev/block/mmcblk0p24
/efs ext4 /dev/block/mmcblk0p21
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Nice. Now that you've got the filesystem enumerated, the update script will be cake. Just like I thought, the filesystem is laid out almost identically to the skyrocket. The mount points for data and cache are the only differences that I see.(pretty important..lol) The skyrocket and 8.9 lte have identical board id's as well by comparing build.props. You could pull all the build.prop tweaks from the sky ice cream skyrocket rom that your running. I've already applied quite a few.
[Galaxy Tab 8.9 SGH-i957 Android Development] JayWheelz:
orlando let me know if you need testing for your rom when you're ready. I'll help you with finding bugs if necessary.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Ok, I am trying to learn here.

1. Why do you use mount("ext4", "EMMC", "/dev/block/mmcblk0p24", "/system");, and then unmount("/system"); without the dev blocks?

2. In above code, why you you write both 'ext4' and 'emmc' while mounting if system if it is only ext4?

3. For example, the original script is "mount("MTD", "userdata", "/data");" To modify this correctly i should make it "mount("ext4", "userdata", "/dev/block/mmcblk0p26", "/data")? Not sure why 'userdata' is there since you are already calling out the block location as well as the name.

4. Why is the second block location listed here? #/sdcard vfat /dev/block/mmcblk0p28 /dev/block/mmcblk0

5. If I were to royally mess something up in the script (i/e format data or system and then unable to replace them, or the boot.img get corrupted), could I still get into download mode or recovery to odin or nandroid back to stock? (TL;DR whats the worst that can happen?)
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Well as I mentioned earlier I'm a Microsoft/Cisco admin that tinkers in Android for fun over the past few years, so I'm definitely not the best person to be answering these questions, but I'll do my best. I've learned how to do quite a bit in android without taking the time/effort to learn why I do it the way I do. Most of your questions are "why" questions...

1. I used this syntax because that's the way I learned with both my captivate and SGS2. I'm far from fluent in edify, but in reading the script; ext4 refers to the filesystem, EMMC refers to the physical internal SD card (I think it's Embedded MultiMedia Card..maybe) and the dev/block refers to the partition. Not sure why you don't have to enumerate as much when unmounting, but you'll notice it's the same way when unpacking data from "system" to "/system". I'm guessing it's an assumption made by the scripting language once you've already mounted.

2. One refers to the filesystem and the other refers to the physical medium? Just the way I've seen it done. Don't really know.

3. You don't need to mount data. Most all update scripts I've seen simply wipe data. I'm not sure why you'd want to mount data unless you want to throw some apk's into data/app as opposed to system/app. Even if you do, you wouldn't use "userdata". The mount for our system would be ;mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data")

4. Not sure. You wouldn't want to use that in the update script anyways.

5. Well since I haven't seen your rom or script it's tough to say what the worst could be. Your script should essentially wipe the current system and data, install the new system, set symlinks and permissions, install the kernel, and then unmount everything. You should have no reason to touch the recovery partition. If that's the case, then I would think the worst that could happen would be a boot loop into recovery. From there you could still restore from backup or odin from download mode. Similar to what you described when you tried to force your previous script.

orlandoxpolice, I'm worried that we're hijacking this thread too much. Maybe we should proceed via PM or IRC. I'm confident that we could get this thing going. I don't have a ton a spare time between work and family, but we're close to finally having a rom for this tablet. As I mentioned I've already done some work regarding deodexing/zipaligning and build.prop tweaks. I've also stripped all the bloat apks and such. No reason to double the work. Give me a shout.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Yea I will send you a PM. I think I have everything working now, just need to flash the ROM.
[Galaxy Tab 8.9 SGH-i957 Android Development] Ikaro:
...which blank file? for what?

Max
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
.hidenandroidprogress
[Galaxy Tab 8.9 SGH-i957 Android Development] Ikaro:
. hidenandroidprogress

Ok! As I wrote in my previous post (#16) I created a file with polaris office (a word file with a word written at random) and I renamed it in ". hidenandroidprogress" so I saved in the dir "ClockworkMod / backup".

I think you can use any text editor (for example) to create the file, then renaming :)

Max
[Galaxy Tab 8.9 SGH-i957 Android Development] TEKHD:
Successfully Flashed 2 Tablets!

Just Flashed the recovery...

Backing up...

No issues with backup... (did not have to do the .hidenandroidprogress blank file)

No we can say on the first post... tested by 3 not 2... lol... (my wife is going to be #4... doing it right now on her tablet)

... Done ... >>> 1st tablet no issues (first 2 pics) >>> 2nd tablet stayed in "Backing Up data..." (Last 3 pics) Created the .hidenandroidprogress for the second tablet and Backup Ended Successfully...

First 2 pics my tablet... last 3 pics my wife's tablet...

Now... tested by 4... lol
[Galaxy Tab 8.9 SGH-i957 Android Development] TEKHD:
Okay Developers... Listen to this... Since I have two tablets I have discovered something that a person with a single tablet will have less chance to note. As mentioned in my above post, 1st tablet did not required the .hidenandroidprogress but the 2nd did required the file. Now... I decided to add the file to the 1st tablet so it would be bullet proof (just in case) and guess what... Yes, the backup failed! I removed the file and backup perfect again... So in other words, if you are a developer and you are thinking to include the .hidenandroidprogress file in the rom... Think again... Don't do it... Just offer it as an option (zip flashable file) for users who "really need it"... Heads up! (orlandoxpolice)
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
if both tabs are the same, then that is odd.

anyway, thanks tek
[Galaxy Tab 8.9 SGH-i957 Android Development] modestone:
Is there maybe something installed on the tab that makes this required vs not?

As far as I can tell, thats pretty much the only thing it could be.

Were both your tabs already rooted, were they both running dag's oc kernel, or just the root kernel?
[Galaxy Tab 8.9 SGH-i957 Android Development] TEKHD:
Hello there... They are both running the oc kernel from dag... They are exactly the same tab both bought the same day, same store. My wife's tablet has much less apps installed... But we even use the same launcher (EX) I pretty much install exactly the same mods to her after I confirm them working on mine... Nothing really out of this world... Another detail... I thought that if some tablet was going to need the file it was going to be me since mine has much more apps installed so there would be more chance for a "long file name" but is all the opposite... She is the one that needed it.

Can someone provide a CWM flashable zip file with the .hidenandroidprogress file... Just to test it and be all 100% sure of the issue... And another zip that removes it... So there is no manual intervention by my part...
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Here you go. This will write a 100 byte empty file to your CWM folder. Tested and works. You might be having trouble due to the way your creating the empty file. I created it in Win 7 via CL using the following command syntax: fsutil file createnew <name of your file> <size in bytes>.

I could create a zip to remove it if you really want, but I'd have to look up the syntax. Don't want to accidentally blow away your CWM directory:D Just as easy to delete it via root explorer.

Ikaro, feel free to link this in your OP if you think it would make it easier for people.
[Galaxy Tab 8.9 SGH-i957 Android Development] TEKHD:
Great... will flash it right now and test it a few times... will post results... thank you!

---------- Post added at 02:53 AM ---------- Previous post was at 02:49 AM ----------

Okay... found the problem already... I was following this instructions and it says inside /ClockworkMod/Backup... is not there... lol dammmmn

I am not crazy! that's what it says there... 1st post is okay by the way...
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
I was confused and told Ikaro he could link in the OP. Obviously he is not the OP. Oops. In any case the file I created is a true empty file. I don't believe that creating a file in a text editor and then simply renaming is quite the same.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I can talk to utkanos to have him add to OP

Thanks for this. I didnt know sdcard was on block 28, good to know. which update binary are you using? The ones i was using were about 255904 bytes, and yours is 190544.
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
More confused now. The zip I posted writes to the clockworkmod folder, not clockworkmod/backup...this works for me and the backup isn't enumerated. Maybe it works either way.
[Galaxy Tab 8.9 SGH-i957 Android Development] TEKHD:
Damn... lol we are like ants in a backyard... we only know a few rocks around...
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
I'm using the same update binary I've been using all along. You're the one that told me that the sdcard was on block 28 when u posted the filesystem layout earlier..lol
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
yea im an idiot.

#/sdcard vfat /dev/block/mmcblk0p28 /dev/block/mmcblk0

but yea, in adb this is the command to run:

adb shell touch /data/media/clockworkmod/.hidenandroidprogress

so yea the file just goes in the clockworkmod folder.

I rooted a fresh install earlier today with the skyrocket superuser.zip and it worked fine for me, so I guess both binaries are fine.
[Galaxy Tab 8.9 SGH-i957 Android Development] TEKHD:
As a favor... (Out of topic) Can someone please create a flashable zip with this apk that it installs on /system/app/ so I can have the zip and in the future I can just replace the apk with winrar as I usually do on other devices... and I can install anything this way... thank you a lot...! (is just that I still don't have any flashable file for installing files on this tablet yet... ones I have one, I can edit it my way for future apps or releases...)
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Yea either binary should work. U need help on anything to get that rom up? I've got a little free time tonight.
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Here u go. Should work fine, haven't tested though. Let me know. What maps APK is that?
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Ah cant tonight....

Rom flashes but bootloops. I can send you my update script to look over
[Galaxy Tab 8.9 SGH-i957 Android Development] TEKHD:
Thank you a lot! That's google maps ownhere version... (voice directions turn by turn activated worldwide)
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Ill take a look. Lets see it
[Galaxy Tab 8.9 SGH-i957 Android Development] Ikaro:
Ok Scarchunk, I believe that the file ".hidenandroidprogress" any file can be empty or not empty.

My files ".hidenandroidprogress" is a file ".doc" did with "polaris office", then renamed and moved to dir "clockworkMod".

The success of the trick I think is not dependent on the type of file, but only by his name.

However, this is my file ".hidenandroidprogress" (delete the name and just leave ".hidenandroidprogress" after copied on the tablet):

http://www.2shared.com/file/7XjQT5bB/delete.html

Ok, now the path for ".hidenandroidprogress" is correct... sorry!!! :p

Max
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I don't think it goes in the backup folder
[Galaxy Tab 8.9 SGH-i957 Android Development] TEKHD:
Me too
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
OK. I'm not terribly familiar with the mechanics of CWM but a quick Google search explains that the .hidenandroidprogress is a simple switch that does exactly what it says. It appears that cwm is coded to parse the CWM directory for that file. I imagine one could complile CWM to always set that switch to true if they wanted but the empty file trick works just as well.

I imagine that you're correct in that the cwm script probably scans the entire cwm directory including sub directories, so it might not matter where the file is as long as it exists. However every reference I can find states that the correct usage is an "empty" file in the root of /clockworkmod. The file you're creating isn't an empty file. Its file size is determined by real data (a random word) and then your just changing the file name. The file I packaged is truely empty and I set its size arbitrarily. Again the script probably doesn't care and just checks the file name, but it isn't technically correct according to any cwm documentation I can find and there might be certain circumstances where this actually matters.
[Galaxy Tab 8.9 SGH-i957 Android Development] Ikaro:
Scarchunk sorry but my knowledge of CWM are poor, I just followed the instructions of utkanos. This is my experience but I do not know how else to help.

However, I think you're right when you say that CWM controls only the presence of the file ".hidenandroidprogress" but does not control the contents or its size.

Max
[Galaxy Tab 8.9 SGH-i957 Android Development] Vman7765:
Backup worked great for me. I put the file hiddenandroid.
[Galaxy Tab 8.9 SGH-i957 Android Development] modestone:
Finally got around to flashing this, hung on "Backing up data..."

Gonna do the .hidenandroidprogress and will report back

How are those build.prop tweaks working for ya orlando?

EDIT - Worked properly after adding the .hidenandroidprogress file to the /clockworkmod dir.

I simply used a terminal emulator, cd to the clockworkmod dir, and do a "touch .hidenandroidprogress" which creates the 0 byte file.

Doing a restore now.