yashsingh1/xdaforums huggingface dataset:
[Nexus S General] b95505017:
After rebooting from Safe Mode to normal, all accounts listed in Setting panel are gone except for Google account.

Is that a bug?

Thanks!
[Nexus S General] mushan3420:
Probably, this problem is related to GApps. Try to update your GApps.
[Nexus S General] b95505017:
Thanks, but only Google account is still there and working, why this problem is related to GApps?
[Nexus S General] mushan3420:
Because I'm using this rom but I don't have such a problem.
[Nexus S General] b95505017:
Did you also try to reboot from safe mode and everything is still there?
[Nexus S General] leap_ahead:
greenblue i use your rasbeanjelly rom u can update the rom pls ?
[Nexus S General] leap_ahead:
Rasbeanjelly from Greenblue:

unofficial-rasbeanjelly_rascarlo_crespo4g_ota_2013-04-08.zip

http://www.mediafire.com/?c873jsq6vce53qo

unofficial-rasbeanjelly_rascarlo_crespo_ota_2013-04-08.zip

crespo http://www.mediafire.com/?qlm2c76l4quowza

gapps:

http://fitsnugly.euroskank.com/?rom=rasbeanjelly&device=gapps

camera:http://xdaforums.com/showpost.php?p=33544546&postcount=33

md5sum

0e21e1a6537eedcc74a39771ef5bdd56 unofficial-rasbeanjelly_rascarlo_crespo4g_ota_2013-04-08.zip

0b1190d4ed5a5309aa4285d71507f4dd unofficial-rasbeanjelly_rascarlo_crespo_ota_2013-04-08.zip

also thanks to the big Rascarlo
[Nexus S General] calic0:
4.2.2 Bootloop

Hello,

I have tried building from source, using the crespo-20130220 build and the rasbeanjelly build mentioned in the previous post and all three get stuck in a bootloop after flashing the ROM using clockworkmod.

The bootloop occurs during the "android" boot animation and before I've flashed any gapps. I am using a stock Nexus S with a stock kernel so I'm unsure why this is happening. Does the build require super su?
[Nexus S General] the1dynasty:
does anyone know of, or has a 4.2.2 Crespo4G ROM that is working and dexed? i kinda just want to do the stock experience on my NS4G now... also, anyone have a link to GAPPS that are newer than the one posted on Goo?
[Nexus S General] b95505017:
Does anyone compile with the android-4.2.2_r1.2 tag with this post?

I want to get the r1.2 version combining with latest security patch, not sure its workable or not.

Thanks.
[Nexus S General] leap_ahead:
If u do i want to try it
[Nexus S General] rustyjay:
Works on my rasbean builds but there are some different repos.
[Nexus S General] b95505017:
Thanks, I want to know the essential patches of AOSP 4.2.2_r1.2 for crespo.
[Nexus S General] b95505017:
4.2.2_r1.2 with zip security fix build

I did a quick build.

full_crespo-ota-eng.yu-hsuan.zip (New build!)

For integrating with bug fix 9695860, I create two patches below, also changed greenblue's platform_manifest revision to 4.2.2_r1.2.

Build: JDQ39E

Build number: 610897

Let me know if there is any problem, thanks.

--

update:

It seems that there are more zip security issues need to be patched, and the bug 8219321 doesn't fixed in AOSP now.

So I take Cyanogenmod 10.1.2 as the reference and try to merge with the AOSP as new as possible (/libcore/luni/src/main/java/java/util/zip/), now it seems all OK.

All patches are below, including AOSP revision, build id, and libcore_zip patch.
[Nexus S General] leap_ahead:
nice !! so this is Aosp 4.2.2_r1.2 ??
[Nexus S General] b95505017:
Yes, I hope so.

I just changed the revision here to 4.2.2_r1.2, but as you can see, there are some projects' revision point to greenblue's fork, so those wont be updated, actually the difference between r1.2 and r1 may be little.

https://github.com/diclusial/platform_manifest/blob/greenblue-4.2.2/default.xml#L10
[Nexus S General] leap_ahead:
sorry but I don't understand about building rom ... I just like the last ;p
[Nexus S General] leap_ahead:
I flash now to test it !!

all ok if anyone want Clean Aosp Rom
[Nexus S General] mushan3420:
Master-Key Security Patch is NOT applied

Master-Key Security Patch is NOT applied.

To test whether you are actually protected by this patch, try installing this proof-of-concept demo apk:

http://github.com/Fuzion24/AndroidMasterKeys/blob/master/example/apks/modded.apk?raw=true
[Nexus S General] b95505017:
My bad.

But I've try to merge the code into 4.2.2_r1.2, so what is the correct way to merge them?

Thanks.
[Nexus S General] mushan3420:
Sorry but I also don't know about that. Oasisfeng created an APK called Master-Key Security Patch, you may ask him for help.

Google play: http://play.google.com/store/apps/details?id=com.oasisfeng.security.masterkeypatch

Source code: https://gist.github.com/oasisfeng/5993367

BTW, he is the author of Greenify.

http://xdaforums.com/showthread.php?t=2155737
[Nexus S General] b95505017:
Hi, I found the reason. That's because AOSP doesn't fix bug 8219321 until now, so my previous AOSP build cant't defense that, but Cyanogenmod team has already done with CM-10.1.2.

So I take Cyanogenmod 10.1.2 as the reference and try to merge with the AOSP as new as possible (/libcore/luni/src/main/java/java/util/zip/), now it seems all OK.

Please go back to my previous post to get all infos and link, thanks! ;)

http://xdaforums.com/showpost.php?p=43737044&postcount=505
[Nexus S General] leap_ahead:
I read about this patch but i dont understand ..u can explain me more what is protec ?
[Nexus S General] b95505017:
Hi, actually I'm not familiar with those security issue stuff, so I only could explain what I'm done. :(

Basically it may be separated as three part:

1. Bug 9695860

Values in ZIP files are unsigned.

2. Issue 36187

Fixing support for .zip files larger than 2GiB.

3. Bug 8219321(AOSP no fix yet)

Remove support for duplicate file entries.

Sorry for my poor knowledge.
[Nexus S General] mushan3420:
Well done! THX!

I've made a flashable zip based on your new build, combining with the latest GApps, and it works fine.

http://bbs.gfan.com/forum.php?mod=viewthread&tid=5456780
[Nexus S General] leap_ahead:
hi nice !! u can upload to another link pls ? I because slow download from there....thanks
[Nexus S General] mushan3420:
Sorry but that's the only link, since I'm in China and have no access to MediaFire.

You can contact me with Tencent QQ: http://www.imqq.com/, or with WeChat: http://www.wechat.com/

QQ ID: 516255871

WeChat ID: Mushan3420
[Nexus S General] b95505017:
Android 4.3 is about to land in AOSP!!

https://android.googlesource.com/platform/manifest/+/android-4.3_r2.1
[Nexus S General] leap_ahead:
yes but not for nexus s..so we wait for dev to the magic

also [MENTION=3582747]greenblue[/MENTION] not here I think ..that sad because from him start the 4.2 on nexus s
[Nexus S General] greenblue:
Sorry guys. That's probably it from me as I'm retiring my Nexus S 4G. Unfortunately, I may not be able to find time to update the patches for 4.2.2 or 4.3. I will try but no promises. It has been a great run with the Nexus S.:highfive:

My new phone arrives tomorrow too.
[Nexus S General] osbaldov:
Its OK you did your best!:) Cyanogen mod will probably build for this device till it can't no more.
[Nexus S General] rustyjay:
Excuse me being nosy, but what phone ya getting? will I see you around n4 area?
[Nexus S General] leap_ahead:
No more still love nexus s ? :p
[Nexus S General] greenblue:
A Nokia. LOL. It's not popular around here so let's just leave it at that. Still excited for the next Nexus and the Moto X though.
[Nexus S General] b95505017:
If the device_samsung_crespo could stay with [MENTION=3582747]greenblue[/MENTION] version, maybe I could try to merge with 4.3. :P
[Nexus S General] the1dynasty:
a 4.3 ROM would be nice :)

wish i knew how to do this... someone please tag me if you find a working Crespo4G ROM
[Nexus S General] leap_ahead:
+1

---------- Post added at 09:28 AM ---------- Previous post was at 09:28 AM ----------

try pls
[Nexus S General] mushan3420:
I'm waiting!
[Nexus S General] b95505017:
AOSP 4.3

Hi all,

I merged and compiled AOSP 4.3 successfully, but unfortunately the System UI keep showing error which has stopped.

It seems that the status bar keep disappearing and appearing, not sure what the problem is. :(

I'll upload my patch later.
[Nexus S General] greenblue:
TARGET_CPU_VARIANT should be generic

Have you tried reversing the libhardware patch?

https://android.googlesource.com/pl...1b9c1fab92727b1463226681d7bd61aac85291b^!/#F0
[Nexus S General] mushan3420:
JSS15J? Isn't it JWR66N?
[Nexus S General] b95505017:
Not yet.

I want to keep the AOSP 4.3 code as same as possible, so I tried to port the crespo part to match the new codes function first.

---------- Post added at 03:22 AM ---------- Previous post was at 03:17 AM ----------

The newest AOSP 4.3_r2.1 showed JSS15J at this point. I know it doesn't match the factory image build id on the Nexus website, but can't do anything. :S

https://android.googlesource.com/platform/build/+/android-4.3_r2.1
[Nexus S General] mushan3420:
In your build, the version code of apps is eng.yuhsuan..., it seems so long, could pls make it as google did, just as 4.3-737497.
[Nexus S General] steven676:
android-4.3_r2.1 (the JS* builds) is for the new Nexus 7. It should theoretically work for other devices, but Google cut the releases for older Nexuses from android-4.3_r1 (JW*), and I know problems have been reported with android-4.2_r2.1 on Nexus 4, at least. (For what it's worth, I didn't notice any bugs running JSS15J on my Galaxy Nexus, though I'm back to JWR66V now.)
[Nexus S General] leap_ahead:
[MENTION=2754493]b95505017[/MENTION] Good try !! Wish u the best !!!

[MENTION=4353291]steven676[/MENTION] hello welcome back to nexus s !!

*here jb-ras-mr2.0 from Rascarlo https://github.com/rascarlo?tab=activity
[Nexus S General] rustyjay:
JSS15J its the build number for AOSP not the stock ota build number, they differ. The latest branch in AOSP is 4.3_r2.1 which is build JSS15J.

Which I am runing latest AOSP on my n4, with no real issues.
[Nexus S General] leap_ahead:
any new for 4.3 build ?

first 4.3 rom for nexus s!!! http://xdaforums.com/showthread.php?t=2380527
[Nexus S General] mushan3420:
CrespoParts.apk is a CM app, so that's not a pure AOSP rom.
[Nexus S General] Gingo21:
I think he uses CM device tree and libhardware. But it is very very near of AOSP.
[Nexus S General] Sain Choe:
The baseband version is gone...

The baseband version entry is gone on screen..
[Nexus S General] mushan3420:
Still Waiting
[Nexus S General] Sain Choe:
That problem...

I solved that problem by replacing 'vold' the file on system/bin/.

"Win7Fun" said that problem is occurred because vold can't mount the sdcard.

I replaced that file with the same file that I built.

But there is another problem...As shown in screenshot, the baseband version entry is gone.

I also built it and I catched that the same problem.

How can I solve that problem? :confused:
[Nexus S General] osbaldov:
https://app.box.com/s/2t8y7f0u3bklcj1smz2r

Flash baseband on recovery.
[Nexus S General] Sain Choe:
I did it..

I already did it, of course...
[Nexus S General] mushan3420:
Where is [MENTION=2754493]b95505017[/MENTION] ?
[Nexus S General] waltpinkman:
Thx
[Nexus S General] b95505017:
[MENTION=5137589]mushan3420[/MENTION] Sorry I'm busy these days. :(

---------- Post added at 01:30 PM ---------- Previous post was at 01:26 PM ----------

Sorry, you mean replacing 'vold' the file with what?
[Nexus S General] Sain Choe:
I also built 4.2.2 platform. So I replaced with that file on 4.2.2 platform

Or, you can replace with that file on CM10, but in my case this is not helpful.

If you built 4.2 platform, you can replace it.

Sorry for my English... :(
[Nexus S General] b95505017:
After replacing old vold file, 4.3 AOSP rom is basically workable?
[Nexus S General] Sain Choe:
Once you replaced that, you can solve System UI force closing, but some other problems remain.

1. Force rebooting after run easter egg.(Long click and beans flying...)

2. Baseband entry is gone and no features of mobile network.

3. On connected WiFi, mms app is died after booting.

4. Some force rebooting occurred without reason...

I gave up building...

I'm just waiting for guild...

Sorry...:(
[Nexus S General] osbaldov:
Its OK you tried your best.:)
[Nexus S General] Sain Choe:
CM10.2 for nexus s is not released yet?
[Nexus S General] leap_ahead:
I dont think
[Nexus S General] Sain Choe:
Sorry but, you mean that you don't have any plan to make android 4.3 for Nexus S...?

---------- Post added at 11:15 AM ---------- Previous post was at 11:06 AM ----------

I used it 3 days(after that, I flashed original rom.).

The battery management is little better than on 4.2.2, I think so...;)

So I want it very much...
[Nexus S General] tchaari:
We have Slim Bean working fine on crespo but we still have a bootloop on crespo4g...
[Nexus S General] osbaldov:
Are you guys still beta testing? I'll be glad to help! :)

Just PM me
[Nexus S General] dabotsonline:
Hey guys,

I've created a GApps package that is more comprehensive than the doomed151 and BaNkS versions if anyone wishes to test and give feedback. I'm running it without any problems on top of SlimBean 4.3 Beta 1:

4.3:

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

Thanks,

Nick
[Nexus S General] leap_ahead:
hi guys any try for kitkat ??
[Nexus S General] steven676:
I haven't even had a chance to check if this builds at all (never mind whether it boots), but if someone is feeling ambitious and has a fast build box, you could try building with https://github.com/steven676/android_device_samsung_crespo/commits/kitkat (this is based on work done for Galaxy Nexus). You'll also probably need to apply https://gist.github.com/steven676/7276901 and https://gist.github.com/steven676/7276913 against frameworks/native to get SurfaceFlinger working decently well (see this post for some more details).

Again, I haven't even tried to build this, never mind boot it -- don't blame me if it fails to boot, eats your data, explodes your battery ...
[Nexus S General] the1dynasty:
i just got a new hard drive and i'll be installing linux on that one to tease the idea of developing a ROM for Crespo4G... not totally new to building but also nowhere near a pro or even at a level that i knwo exactly what i'm doing haha
[Nexus S General] steven676:
Aha -- Google needed https://android.googlesource.com/platform/frameworks/native/+/f4486c6ea4bc^!/ to get 4.4 working on OMAP4, which is also an SGX540 GPU. If we apply that fix to S5PC110/Nexus S as well, the system actually boots and runs quite nicely, though WebView is broken (as it is on OMAP4).

In short, in addition to the patches listed above (https://gist.github.com/steven676/7276901 and https://gist.github.com/steven676/7276913), you'll need https://gist.github.com/steven676/7287471 and https://gist.github.com/steven676/7287482 to get 4.4 running on Nexus S.
[Nexus S General] Setting.Out:
What kernel is that?.. Did the test go well; as in somewhat stabe, apps FC's, cell/3g/WiFi?.. Want a tester?... (Please)... ;D
[Nexus S General] steven676:
Stock browser and other users of WebView have screwed-up rendering (big black boxes in the middle of pages). Camera, video camera, video playback, WiFi work; have not dropped in a SIM card to test cellular, but don't anticipate problems. Apps themselves aren't acting up, but the PowerVR GPU drivers crash every so often, taking down the entire system -- unclear what can be done about that (they also crash like that on Galaxy Nexus).

My own personal local kernel build, which I'm not going to release (not suitably configured for general use).

To be clear, I don't plan on uploading binary builds -- I don't have the network bandwidth or the time to provide support. I am posting source for everything I do, though, and anyone is welcome to build/use/modify/whatever with it.
[Nexus S General] Setting.Out:
I'd let you borrow my bandwidth .. Lol... Thanks for your support on this, sounds promising.. It's good to know our dinosaur can have another day in the sun... :)
[Nexus S General] leap_ahead:
[MENTION=4353291]steven676[/MENTION] oh sorry now i see
[Nexus S General] dabotsonline:
[MENTION=4353291]steven676[/MENTION] , could you explain why WebView is still a problem with Android 4.4 now that it is rendered by Chromium rather than WebKit?
[Nexus S General] cn.fyodor:
Thank you so much, steven. After applying your tweaking patch 01 and 04, system boots. I disabled the translucent decor feature then set Launcher2 as default, I can confirm kitkat runs definitely faster and more responsively than any other 4.x ROMs. Also the screenshot works without any changes for me.

Cheers,

EDIT: for WebView issue, think we still need the CPU rendering patch, a patch for deprecated WebKit in CM.
[Nexus S General] leap_ahead:
welcome back [MENTION=2253579]cn.fyodor[/MENTION].. you go to release the rom ?
[Nexus S General] dabotsonline:
[MENTION=2253579]cn.fyodor[/MENTION] , could you please upload your binary build based on the work of [MENTION=4353291]steven676[/MENTION] ? I'll be willing to test it (it would be great if you could ensure that everything in /app/ and /priv-app/ is deodexed as well.)

I'm building GAPPS for 4.4 (based on the work by [MENTION=4112553]dhacker29[/MENTION] and @BaNkS - [MENTION=2195956]doomed151[/MENTION] might have other commitments - as well as the hammerhead dumps by [MENTION=5238590]MameTozhio[/MENTION] and [MENTION=4325854]itasoulas[/MENTION] - so I'll probably replace Launcher2 with the PrebuiltGmsCore + Velvet + GoogleHome combination that's working successfully for me on 4.3 on [MENTION=2890218]Lafriks[/MENTION] 's build ( http://xdaforums.com/showthread.php?t=2402655 ) rather than yours ( http://xdaforums.com/showthread.php?t=2410844 ).

Indeed, [MENTION=2890218]Lafriks[/MENTION] is working himself on a 4.4 build, as is [MENTION=5091600]Win7Fun[/MENTION] . I know that [MENTION=1871006]leap_ahead[/MENTION] as well as [MENTION=5165039]Setting.Out[/MENTION] is as keen as I am for a 4.4 build!
[Nexus S General] leap_ahead:
[MENTION=2222938]dabotsonline[/MENTION] i wait 4.4 rom from dev :P
[Nexus S General] cn.fyodor:
Will upload a quick alpha build here after testing Wifi function(also check-picked the patch from Steven, so give him more thanks please). But don't hope too much. Browser rendering is broken. For now I don't have the time to fix this or all other bugs. The only thing is it's just running pretty fast. lol
[Nexus S General] leap_ahead:
yes we know that your buils is from steven work !!

also for broswer rendering what you mean ? sorry but i dont understand,,
[Nexus S General] cn.fyodor:
GPU rendering for the browser is not fully working. It appears some squared black screens on top of the UI. And my build is NOT based on Steven's vendor, just my own repoes. Please check this reply for a try.
[Nexus S General] leap_ahead:
https://android.googlesource.com/platform/build/+/l-preview Android L preview source
[Nexus S General] Articudos:
Hmm...I mean,

To build 4.2 for crespo, there is no device tree..So I have to do full of *.patch...

But in AOSP, there is crespo device tree which supports 4.1.2..

So, I mean; if you don't mind, would you share 4.2 device tree for crespo "like AOSP"?:)
[Nexus S General] greenblue:
What does the error say? Is this the first boot after flashing only the ROM and Supersu? Any more details would be helpful.
[Nexus S General] greenblue:
I'm pretty sure you are just asking for a zip of device/samsung/crespo but my point is you should already have it.

The first repo sync downloads the lastest source. The first patch adds the crespo branches to the repo config files. The second repo sync downloads a working copy of the crespo 4.1.2 trees. The second patch 002-update-crespo makes the tree compile. The other patches aren't critical. In essense, there are only 10 lines that need to be changed.

It is probably simplier if I just upload the directory but you will not learn anything from compiling your own ROM. Think of it as a learning experience. If not, you are better off just downloading someone's ROM instead of the source tree.

What are the errors? What guides did you follow to set up your OS? Did you get errors while patching?

Try building 4.1.2 first as a simpler project.
[Nexus S General] Articudos:
Hmm...So,

Platform/manifest means "rom source" and device/samsung/crespo means "vendor stuffs" right..?
[Nexus S General] hiphopboy:
Re-flashed on Nexus S (Crespo) everything i want it works with this steps

1. Flash the ROM and SuperSU.

2. Boot at least once before flashing gapps. FCs will occur if you don't reboot.

3. Flash GAPPS.

4. Flash fix for Google TTS. (File taken from htchoi5609.)

Tested Face Unlock, it worked on Nexus S :)
[Nexus S General] leap_ahead:
about homescreen and desk clock ???
[Nexus S General] hiphopboy:
Follow that steps and gone :D desk clock already after flash gapps on OP
[Nexus S General] smok3thekid:
Found fix
[Nexus S General] leap_ahead:
i try the crespo rom now ...for storage fix : http://xdaforums.com/showpost.php?p=34421522&postcount=1368 knzo post
[Nexus S General] sidnoit22:
No fix.
[Nexus S General] b95505017:
On mac I get this:

stat: cannot read file system information for ‘%z’: No such file or directory
/bin/bash: File: "out/target/product/crespo/userdata.img"
ID: e00000600000011 Namelen: * Type: hfs
Block size: 4096 Fundamental block size: 4096
Blocks: Total: 7780342 Free: 1938769 Available: 1938769
Inodes: Total: 7780340 Free: 1938769
+
0 : syntax error in expression (error token is ": "out/target/product/crespo/userdata.img"
ID: e00000600000011 Namelen: * Type: hfs
Block size: 4096 Fundamental block size: 4096
Blocks: Total: 7780342 Free: 1938769 Available: 1938769
Inodes: Total: 7780340 Free: 1938769
+
0 ")
make: *** [out/target/product/crespo/userdata.img] Error 1
make: *** Deleting file `out/target/product/crespo/userdata.img'
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

How do I fix this? Thanks for this guide!

update:

I removed Homebrew's coreutils then ok
[Nexus S General] greenblue:
I can't really explain repo but device contains the config for each device.
[Nexus S General] b95505017:
After compiled with success and flash my zip, my wifi isn't working. Is that because step 6?

Here is my folder directories.

View attachment 1500695

Thanks!
[Nexus S General] greenblue:
It shouldn't be a problem with the firmware binaries. If there was a problem, you would get a black screen. The vendor folder is 6.1MB for crespo4g and 4.8MB for crespo.

In the past I have run into odd problems with certain kernels and wifi. If you are using something other than the stock kernel, try setting the phone into airplane mode and then reflashing the new kernel.
[Nexus S General] b95505017:
Thanks, I found an weird problem.

If I use fastboot flashall -w, wifi is working then......

Also, if I flash gapps after rebooting once from the rom I compiled by myself, it keeps rebooting......But flash your zip is ok.

Maybe it means that something wrong during my compiling, but console shows compiling is done.
[Nexus S General] hiphopboy:
Tethering works

---------- Post added at 08:50 AM ---------- Previous post was at 08:35 AM ----------

SMS - group messaging works but apart, can send and message or picture but received problem on Nexus S (Crespo)
[Nexus S General] hiphopboy:
This to fixes in Contacts Google Missed December to set :D
[Nexus S General] greenblue:
Does the zip size differ much? What about the individual file sizes?
[Nexus S General] greenblue:
Finally, an easy one to answer. You typed make ota instead of make otapackage.

Will fix first post shortly. Thanks.
[Nexus S General] greenblue:
This patch probably caused the lockscreen clock to get cut off. Modifying the top and bottom margin variables made no difference. One quick solution is to reduce the font size by 7%. It is not an ideal solution since it changes the aesthetics of the lockscreen. Hopefully someone comes up with a better solution other than reversing the patch.

Patch included. Doesn't look cut off without the blue lines.

More discoveries (20121123):

Further shrinking of the font makes room for the date and next alarm. However, this is not idea because it makes the time much more difficult to read.