yashsingh1/xdaforums huggingface dataset:
[Nexus S General] marthter:
I was trying to flash a very vanilla 4.4 (and then add SuperSU) onto my Nexus S (model GT-I9020A). (this is plain crespo, not crespo-4g, correct?).

Initially I was using _stock_ recovery and trying with "adb reboot recovery" from my Linux box, but when doing "adb sideload aosp-4.4-20131107-crespo-alpha.zip" or "adb sideload aosp-4.4.3-20140607-crespo.zip" I got only the very terse failure message of "Verifying update package... Installation aborted".

I was also getting problems transferring a new recovery (I think maybe the ROM was reflashing stock recovery was my problem). Finally I have ClockworkMod Recovery v6.0.2.5 on there and it is sticking through multiple reboots.

However, now with that recovery, I still have problems flashing either of the above .zip files. I get (on linux box):

adb sideload aosp-4.4.3-20140607-crespo.zip
sending: 'sideload' 100%

(and on phone):

Sideload started ...
Now send the package you want to apply
to the device with "adb sideload <filename>"...
Restarting adbd...
Finding update package...
Opening update package...
Installing update...
Warning: No file_contextsset_metadata_recursive: some changes failed
E:Error in /tmp/update.zip
(Status 7)
Installation aborted.

And on reboot it just boot loops with the Google and unlock icon 3 or 4 times and then returns to the CW Recovery, so I have to restore a backup 4.1.

This seems like the same error mentioned here http://xdaforums.com/showpost.php?p=47002410&postcount=14 but that thread never really answers that except to say get "latest" ClockworkMod Recovery. However all the old instructions to "find the latest for your device" at https://www.clockworkmod.com/rommanager are now moot because that is now a 404 "not found" error page.

Obviously I'm a newbie at flashing ROMs. Any suggestions on what I'm doing wrong in trying to get 4.4 onto this device? I notice some old Nexus S threads mention a 2-day newer AOSP package (20140609 instead of 20140607 that I found from [MENTION=5165039]Setting.Out[/MENTION] 's archive). Is that my issue? or is it that my ClockworkMod Recovery is v6.0.2.5 and I need a newer version? (newer versions seem to be out there, but not for Nexus S, at least not that I could find).
[Nexus S General] Setting.Out:
Use twrp.. And try again.. Wuggs toolkit should still be up to date to help you set up your device..
[Nexus S General] marthter:
I super appreciate the tips...

okay I got the TWRP_2.7.0.0.zip from your mega.nz folders, manually unzipped it, and manually flashed it with "adb reboot bootloader" followed by "fastboot flash recovery recovery.img".

Then booted into that recovery, chose Advanced > ADB Sideload > ticked to wipe dalvik and regular cache, and swiped to continue adb sideload. Then from computer "adb sideload aosp-4.4.3-20140607-crespo.zip". It seemed to work fine, no errors shown on phone or computer.

... script succeeded: result was [/system]

MTD formatting /cache

Done.

However on first reboot the white Google and unlock icon just stayed forever (15+ min). Same on subsequent reboots (though I did not wait more than about 3 min).

Also your wugs link in post 2 of the thread goes to a file not found page at d-h.st. : - (
[Nexus S General] Setting.Out:
Don't sideload, just put the zip on your SD and flash normally..
[Nexus S General] marthter:
okay seems like I'm getting closer. I guess, being a Android flashing newbie, I don't know what "flashing normally" means.

$ adb reboot recovery

$ adb push aosp-4.4.3-20140607-crespo.zip /sdcard/

6433 KB/s (146386286 bytes in 22.220s)

then in TWRP recovery I choose Install, click aosp-4.4.3-20140607-crespo.zip and swipe to confirm, I get:

Updating partition details...
Full SELinux support is present
Installing '/sdcard/aosp-4.4.3-20140607-crespo.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
script succeeded: result was [/system]
Updating partition details...

Then I do wipe cache and dalvik, and reboot. I still get it stuck at the white Google logo with unlocked icon.

Again I appreciate your time spent guiding me. Is this because I put supersu onto this phone when it was the original factory Android 4.1.2? or other possible newbie goof ups? Is there any need to re-lock the bootloader at any stage or the one-time "fastboot oem unlock" is all that is needed?
[Nexus S General] Setting.Out:
On your computer can you open the .zip? If not it's corrupt and needs downloaded again.. Before you install (flash) wipe Dalvik, System, Data (NOT SD) and Cache partitions.. Flash only rom or rom + gapps (correct 4.4.3 gapps) and boot, don't wipe after the flash..
[Nexus S General] marthter:
I downloaded it (aosp-4.4.3-20140607-crespo.zip) again, it is the same size 146386286 bytes, and same MD5 b441c47dbd5813fd6fec23f19e15c1bc. Yes I can unzip it and it has 2 top level files (boot.img and file_contexts), and 2 top level folders (META-INF and system) with of course many contents (1023 total items counting folder names). I also did "adb shell" "cd /sdcard" and "md5sum aosp-4.4.3-20140607-crespo.zip" and it is the same MD5 so the adb transfer to sdcard kept it identical to the downloaded copy on computer.

okay I did this and I am still stuck at white Google logo and unlocked icon. (note I am not crippled and panicking here as I have gotten good at going back to the stock 4.1.2 system and also stock recovery). Specifically I did:

adb reboot bootloader

fastboot flash recovery recovery.img (.img from TWRP_2.7.0.0.zip - needed because I had gone back to stock everything)

on phone bootloader menu, select recovery to start TWRP

in TWRP select Wipe (it says "Factory Reset wipes data, cache, and Dalvik .android_secure") and swipe to confirm

I also did Advanced Wipe, marked Dalvik, System, Data, and cache, and swipe to confirm

then in TWRP select Install > aosp-4.4.3-20140607-crespo.zip and swipe to confirm

in TWRP select Home > Reboot > System (disconnect USB)

I did the above in the above order. Nothing more. : - (

Are we sure this 4.4.3-20140607-crespo.zip is supposed to work on a (Canada model) Nexus S starting from 4.1.2? specifically model number GT-I9020A which in the google pages is called "sojua" not "soju" (https://developers.google.com/android/nexus/images#sojua).

I don't know if I've found the recommended gapps yet but I'll stick to just the ROM until its figured out.
[Nexus S General] Setting.Out:
It's not a 4g crespo, so all Roms work.. Update your twrp to 2.8.6 and see if that helps.. You don't get any error messages when flashing?.. When you flash using the newer twrp, you can check that you indeed have a system by mounting the system and using the inbuilt file manager to see the system files..

http://www.wugfresh.com you can get the toolkit from here...
[Nexus S General] marthter:
okay I actually got 2.8.7.0 from https://dl.twrp.me/crespo/twrp-2.8.7.0-crespo.img.html and the download .img matched MD5 given there. When I flash the aosp...zip and reboot I'm still stuck at same spot.

No errors. I've been taking photos of the success messages from when I do TWRP > Install the aosp-4.4.3-20140607-crespo.zip. I can send you the photo but it is the same as I quoted in post 593 (but without the SELinux line).

Umm, "check that you indeed have a system by mounting the system", umm, not sure what that means. In TWRP I can pick Mount > and choose several partitions however on my (Linux) computer it only shows a new devices as "Nexus S" and only one subfolder called "Internal SDcard" with the expected contents from the /sdcard folder downwards.

okay I looked in Advanced > File Manager and when I looked in /system there was only 1 folder, /system/bin and it was empty. If I went to Mount and ticked System and then went back to Advanced > File Manager then /system contained 10 or 20 folders and /system/bin contained many files. I checked from (Linux) computer with "adb shell", then "cd /system/bin", and "ls | wc" there are exactly 169 items in there, and this is different from the 99 I see in system/bin if I manually unzip the zip file on my computer. Is this relevant?

This seems like a windows tool; As I said, I am on Linux.
[Nexus S General] Setting.Out:
Try another rom... I can't see why you're not booting..
[Nexus S General] marthter:
Oh for bleep sakes. aosp-4.4.2-20140313-crespo.zip (from your mega.nz folders) worked fine.

Now (!) which gapps should I get, you mention "correct 4.4.3 gapps" above but the only one I can find, linked (from here https://www.youtube.com/watch?v=jAV4pTpyMII ) is just listed as "kitkat gapps" (http://d-h.st/EIM) with a date of 20131031.

Will this work now that I'm 4.4.2 instead of 4.4.3?
[Nexus S General] Setting.Out:
https://www.androidfilehost.com/?fid=23329332407573653

These should work.. I picked the bare essential version due to limited space for your partition..
[Nexus S General] Setting.Out:
Why this rom?
[Nexus S General] marthter:
You mean why did I flash "aosp-4.4.2-20140313-crespo.zip (from your mega.nz folders)"?

It was the only one I could find anywhere for 4.4.x for crespo (except maybe sketchy looking chinese sites). All the old XDA threads have had their links pulled down or broken links. I want very vanilla 4.4 AOSP if that's what you're asking. In fact my only real goal is to revive using this phone but I only want to do that if I can get CF.lumen working on this phone, which isn't available for 4.1.2 so that's the whole reason for 4.4.x!

So I'm happy I'm getting into a working 4.4.2 phone here. However all along I've had and I'm still having problems getting rid of superuser (ClockworkMod's superuser, not Chainfire's SuperSU). I only installed superuser once on 4.1.2, about 20 ROM flashes ago. I've tried this full sequence 4 or 5 times and it keeps happening: I do fastboot flash to downgrade to full 4.1.2 factory (sojua-jzo54k from google https://developers.google.com/android/nexus/images#sojua) doing bootloader, radio, boot, recovery, system, userdata .img files. Then I reboot a few times on 4.1.2 to test, and there is no superuser icon as expected. Then I fastboot TWRP, use TWRP to flash aosp-4.4.2-20140313-crespo.zip from your mega.nz download, and after first boot, the superuser icon is back.

How does the superuser icon keep coming back? Is it back due to being included in that aosp zip? or did the original superuser add some script in some hidden android partition that doesn't get wiped on these flashing steps and keeps re-installing the app?

(Note, these last few tries through this cycle, I've been only doing fastboot TWRP, not installing it to the recovery partition.)
[Nexus S General] Setting.Out:
Superuser may be included.?.? Been a while since I've read about it.. Do you not want root? If you want supersu, the in built su won't make any difference.. There are guides to fully unroot a device as well.. There is a pacoorup kernel (spelling may be off) that worked well on this ROM.. If I can help further, just ask.. ;)
[Nexus S General] mathuaerknedam:
Assuming you want to be rooted, have you tried installing SuperSU?

FWIW, I never got cflumen working well on my crespo4g. When I asked in the forum, Chainfire said the hardware wasn't good enough.
[Nexus S General] Setting.Out:
Feel free to venture towards another thread, read, but DON'T leave comments, to show support simply use the 'thanks button'.. ;)

SERIOUSLY DON'T COMMENT it's not that kind of thread.. ;)

http://xdaforums.com/showthread.php?t=1976627&p=68551252
[Nexus S General] Setting.Out:
Petition (8 thanks per day increase)

http://xdaforums.com/general/general/petition-8-thanks-day-increase-t3456912/post68572472

Please sign this.. ;)
[Nexus S General] david72262:
In a few months or years your bacon will be in this situation will be a sad day, it's still a good phone just no finger print scanner and the camera is getting bad.
[Nexus S General] hauckk@sfreserves.org:
downloadandroidrom.com

has many files for nexus s and nexus s 4g it only has ics and jb and kk roms and kernels though hosted on that site think of it as a backup of the files for nexus s im glad i found it

in case anyone couldnt find a certain old rom or kernel try there

im using cyber gr mod rom ics with no gapps at the moment
[Nexus S General] hauckk@sfreserves.org:
ive started a google plus community for hosting downloads, information, and discussion for nexus s and 4g custom roms to keep this old lady alive a little longer

here it is plus.google.com/communities/118078408170605236116
[Nexus S General] Setting.Out:
Did you see my collection on Mega?.. Link is in this thread..
[Nexus S General] forb'S:
Here are some other files for the old lady ....

and some for some other ladies ... ;)
[Nexus S General] Setting.Out:
Damn, that's a collection.. :)
[Nexus S General] forb'S:
[MENTION=5165039]Setting.Out[/MENTION] You do what you can do. And your collection is not that bad, too.
[Nexus S General] hauckk@sfreserves.org:
too bad afh is blocked at the job corps im currently living at right now mega, google drive, and one or two other hosting sites work but no other ones. Its a pain trying to download files when tons of sites are blocked :(

I added your links for mega [MENTION=5165039]Setting.Out[/MENTION]

and afh [MENTION=4872610]forb'S[/MENTION] to the google plus thread
[Nexus S General] hauckk@sfreserves.org:
my nexus s 4g broke a 4 months a go have since gotten a nexus 5 is it worth it anymore to host files for this device anyone still using this device daily ? its 8 years old now

just wanted some more space on my google drive what do you guys think?
[Nexus S General] Setting.Out:
Ah, nostalgia.. If you want to go through the effort of moving to another host, there's free alternatives.. Realistically, the device barely handles light applications anymore... No need to save unusable data..
[Nexus S General] david72262:
How you been? What's your next phone gonna be? I'm ready for an upgrade finally. Bacon is getting boring and the good devs are moving on. I'm thinking Nexus when it comes or 6T this fall.
[Nexus S General] Setting.Out:
Nexus or 'Pixel'..?

I'm good, still rocking the Mate 10.. I am looking at another phone, development friendly, Huawei has locked theirs down.. I'm not in a rush though, and want to see new hardware and avoid 'notched' design.. :)

The 6t would be my choice over pixel, depending on hardware and design.. Both are dev friendly, so no bad choices either way..

How's Oregon? Has the orange presidick made you want a change in scenery yet?
[Nexus S General] david72262:
Yeah I meant pixel but if it really comes out the way everybody is predicting with only 4 gigs of RAM I'll probably go with the 6T. Yeah I've been lots of fires and smoke this year hottest year on record to no rain all summer which is weird it's finally cooled down to the 80s
[Nexus S General] ej8989:
Pocophone F1 sounds interesting
[Nexus S General] Setting.Out:
If not for the notch.. :)
[Nexus S General] shockdesign:
Thanks for this, glad it's still up, helped me get SlimKat on a Nexus S I resurrected..
[Nexus S General] Setting.Out:
PA or Banks... Or any 4.4.2 gapps should be fine...
[Nexus S General] Setting.Out:
I'm back home, but I still need a day or two to unpack from my trip and get things in order for work.. And to top off a nice vacation, I need to get a new door and locks installed... as my apartment was getting broke into.. Well, they tried, but my apartment and door is really tough, so they only damaged the door and lock.. Thank goodness I am nine stories up with no access other than the door, or they would have succeeded.. ;(
[Nexus S General] teoserio:
Take your time ;)

Inviato dal mio SM-T211
[Nexus S General] Setting.Out:
It's Alive...

Oh it feels so good to flash again, it has been too long... Well up on the chopping block is a Mokee rom the 19/01/2014 nightly.. I have been running it for nearly a day with no issues except the 'x' at the top of the screen when you remove and app was constantly there until I rebooted it.. past that even the split view or multi view works awesomely... I did notice a few lags, but with the Devil kernel added and my mods, it is now very smooth and fluid.. I will be updating the chart soon and will have links to the roms as well.. :)
[Nexus S General] lyvidium:
I have been flashing for a week now, tried few roms and so far for me most fluid and lag free rom is euroskanks. runing build 18.01.2014. with built in kernel and no tweeks accept I greenifyed few battery hungry apps like facebook and no problems at all. Also I set ro.config.low_ram=false to get transparency and to get photosphere to work.
[Nexus S General] khimois:
Yes! Mokee is good! I've tried it, the only thing I don't like about it is the Chinese Shortcuts or additionals.Other than that it's good.
[Nexus S General] Setting.Out:
I just remove what I don't use.. ;) I like the boot animation and wall paper too.. It is pretty battery friendly as well... Ah well, time to flash again.. ;)
[Nexus S General] khimois:
Did you also flash the S4Style Add-On? It's good interface too. Hehehe. Well, looking forward! ^^
[Nexus S General] Setting.Out:
Nope.. Ehndroix is booting up as I type... Updated chart in a few hours.. :)
[Nexus S General] Setting.Out:
UPDATES!!

Updated chart and more features too come!!!

Btw EHNDROIX V is running really well, a bit sparse on customizations, but very fluid and fast.. :)
[Nexus S General] KnoMeNot:
Ehndroix v

I agree EHNDROIX V runs really well, it didnt freeze up or get into stalls aat all during my entire day of use compared the KitKangs Nightlies.

However, the lack of a messenger like the one found in KitKang was as a deal breaker for me personally that messenger has a few key features that I can not dare go without. As from that EHNDROIX V is definitely the smoothest thing i've tried on stock kernel.
[Nexus S General] khimois:
Hehe, I've mistaken, I think it's EHNDROIX V with S4 style theme. Hehehe, I've been confused since both works great. :)

BTW, how do you remove unwanted app? I've tried TB but not everything can be uninstall. Thanks!
[Nexus S General] Setting.Out:
App master in the play store.. Or alter the zip file before you flash..
[Nexus S General] Setting.Out:
What app did you want?.. It's easy to add an app to any rom from any other rom that you like... ;)
[Nexus S General] KnoMeNot:
The messenger app used in Euroskank kitkang
[Nexus S General] Setting.Out:
http://www.mediafire.com/download/mz3ccwf5davwdtx/mms_app_kk4.4.2.zip

This isn't the Euroskank one.. It's still a CM variant.. I haven't downloaded a recent KitKang rom yet, but I can't imagine a real difference between CM and Kitkang on the apps..

Just flash it like anything else, no need to wipe anything.. :)
[Nexus S General] KnoMeNot:
if i replace the Mms.apk found int the zip with the one found in KitKang would that suffice?
[Nexus S General] Setting.Out:
Yes, but if you just need to make sure permissions are set right.. Flashing automatically sets proper permissions.. :)
[Nexus S General] khimois:
What zip to alter?
[Nexus S General] KnoMeNot:
Okay I won't touch it, since I don't know how to go about doing so.

I'll test this tomorrow morning
[Nexus S General] Setting.Out:
The rom before you flash.. Unzip it, delete the apps you don't like and re-zip it then flash..
[Nexus S General] Setting.Out:
You can change the MMS app in the zip file I made before you flash it.. If you just add the app to the rom it will need permissions fixed..
[Nexus S General] Setting.Out:
Man, I love flashing.. :)

I am trying out Dokdo-Project, with mixed reviews.. I like everything about the rom, but it is just slow** and lag* more than the rest (so far) it shutters on scrolling and eats more ram than other kitkats as well.. with such a nice interface and set of customizations it is a shame that it stumbles here.. Also it has a minor graphical glitch, though this is not the deal breaker.. :)
[Nexus S General] Setting.Out:
Moving on... :)

Avatar... :) This rom is cool, I like the theming and theming possibilities, not everything is perfect, but is still cool.. A bit of lags and not the speediest but seems pretty stable so far..
[Nexus S General] KnoMeNot:
- I first replaced the mms.apk with the one found in kitkang - then rezipped it - the installation aborted.

- Then I flashed the zip file you provided, installed, - however when I open it i get the message, "Unfortunately, Messaging has stopped." and the program closes.

Any Advice?
[Nexus S General] Setting.Out:
try fixing permissions, clearing caches and then reboot... I will look into whether you need a lib file or something to go with it... ??
[Nexus S General] KnoMeNot:
How does one go about fixing permissions?
[Nexus S General] Setting.Out:
Either in recovery ( not all recoveries have this option) in an app like cwm ROM manager, or I believe there's a command for adb or terminal emulator ( I could be wrong here).. And if you have a good file manager you can go into your system and find your app and set its permissions manually.. I use the cwm app option as it is easiest for me...
[Nexus S General] teoserio:
Download Koush Rom Manager app then look for fix permission in there. It's smartest way to do this operation.

Inviato dal mio Nexus S
[Nexus S General] KnoMeNot:
I tried cmw rom manager fix permission and there was no change.

I shall try this rom manager right now.

EDIT: I dont see a rom manager named "Koush Rom Manager" at the play store, nor do i see a rom manager made by this Koush fellow.

Can you supply me with a link perhaps?
[Nexus S General] Setting.Out:
..hmm.. there must be a file missing to get the mms app to work, but I don't know which one.. I tried looking but my searches didn't help much.. but I will try again.. :)
[Nexus S General] Setting.Out:
UPDATES!!

Updated Chart!!

with

New Roms?..

and

Download Links!!

(kitkat only for now)
[Nexus S General] khimois:
https://play.google.com/store/apps/details?id=com.koushikdutta.rommanager

---------- Post added at 04:14 PM ---------- Previous post was at 04:11 PM ----------

Haven't tried Pac-Man yet? :)
[Nexus S General] Setting.Out:
I haven't tried several of them.. :) but I'm getting there.. lol.. I recently found a 4.3.1 rom I've never heard of as well.. I have downloaded it and it is on the schedule as well.. :)

Illusion, though, is what I'm on now.. It is odexed, only one bug with the Illusion wallpaper and it lacks some customizations.. but it is battery friendly and it is very fast, smooth and is a strong suggestion to try.. :)
[Nexus S General] khimois:
Ah, ok, hehe, I've seen Illusion and it looks promising based on the preview but I haven't tried it. Will try if I have more time. XD
[Nexus S General] KnoMeNot:
I figured as much.. Yeah it didn't work and I'm going to reflash the rom since it's been very unstable since i installed it.
[Nexus S General] Setting.Out:
KitKat Kernels

Check out the first page for a section on KitKat kernels and how to install them.. :)

Also I updated the script.. Beta 0.7 is available to try.. I've been using it for a month on several roms with no issues (minus Slim, as it makes it bootloop??)
[Nexus S General] khimois:
Does your script includes tweak for radio? Or?
[Nexus S General] KnoMeNot:
The script is CM based ROMs so ehndroix is capatible?
[Nexus S General] Setting.Out:
Yes, but very minor... I found some of the heavy ones performed worse...

Yes and no... It doesn't make the rom get buggy, but it is kinda redundant to double up the modifications... Ehndroix is already modified...
[Nexus S General] khimois:
I've switched my ROM to Ehndroix V and my GPS works now. XD

And I also applied your script to it, is now redundant? O.o
[Nexus S General] Setting.Out:
Ehndroix has init.d scripts and build.prop mods that are redundant to my script.. I would suggest using a file explorer and editing (for the best results I had) the init.d folder to remove all but no.6 of the Ehndroix named scripts and either revert the build.prop to original, or edit out the duplicates..
[Nexus S General] khimois:
So, editting the build.prop and removing the duplicates will do? 'cause I've already flash the script...
[Nexus S General] Setting.Out:
Removing the duplicate/conflicting entries will remove the added possibility of issues, if there were to be any..

Though you may not have any issues?? If it runs good, you can leave it.. :)