yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] AceofSpades90:
Like the title says, this is a work in progress and i'm releasing the zip for 4.2.1 for LaNightv9.x. I don't want anyone flashing previous LaNight flash this by mistake thus a new thread. This is a thread for android 4.2.1 only.

LaNight is a pure AOSP build, meaning it is NOT CM or built from CM source, so please do NOT ask for CM features. However, it does use device/hardware files from CM and rest from its own build.. so any device specific problems that is in CM may or may not be in LaNight. If you don't like "pure" AOSP, move on.

Features:

- Android 4.2.1 JellyBean

- Pawtip kernel for 4.2

- Build.prop tweaks

- init.d tweaks

- Galaxy Nexus Tweaked HW Acceleration

- New CM10.1 partition

- Speed and Cleanness of AOSP

- GPS Hack

- KC1 modem

- Stock Fonts

- And a lot more stuff!

What's working:

- Camera

- Logcat

- Sound

- Surface flinger

- Media Scanner

- Touch

- GPS

- Phone

- Internal Storage

- Tether

- Slight problem with Virtual Operators and roaming

- Bluetooth

- Everything

- Settings -> Storage FC

- Mount Ext SD to PC

- WiFi

- Data

- SMS

What's not working:

- Nothing i could find

Download:

- v9.2.1 Download is HERE

- v9.3 Download is HERE

- v9.4.1 Download is HERE

Others:

- Potential WiFi fix for people that don't have their WiFi working from HERE (DO NOT FLASH IF IT'S WORKING!)

- WiFi Fix from paw tip(I don't know what he did there to fix it in his ROM) http://goo.im/devs/pawitp/galaxysmtd_aosp42/fixes/20121125_wifi_fix.zip

- Clock font fix http://xdaforums.com/showpost.php?p=34798184&postcount=55

Screen shots

- http://xdaforums.com/showpost.php?p=34797716&postcount=54

Recommended flash procedure:

- Keep a copy of efs folder for security

- Reboot into recovery

- Make a nand backup before you proceed

- Wipe data/ factory reset

- mount and storage -> Wipe System/cache/data/datadata

- Wipe cache/cache partition

- Advanced -> Wipe dalvik cache

- Wipe voltage cache (If the option is given)

- devil -> run clean NStools options

- devil -> run clean init.d directory

- install rom zip from sdcard

- install rom zip once again if it boots you back in recovery (It's flashing kernel/recovery/partition if it finds an incompatible partition)

Required Set up:

- Settings > developer > background process limit > at most 2

- Settings > developer > Force 4x MSAA

Special thanks to:

Google

Whole CM10 Team

TeamHacksung

Pawtip (For first functional AOSP)

Derteufel (For the kernel and first AOSP rom)

Elitemovil(For the first 4.2 port)

Bigixie

Be18

Steeve76

HP40

iall5tar

mkalter (HW acceleration)

mikel.canovas & H3llstorm(For GPS hack)​
[Captivate Android Development] sephhi:
Will try it out tomorrow. Thanks for all your hard work ace.
[Captivate Android Development] ChuckDaEngineer:
I will help.

Ace,

I can help a little. I will load this up and try a couple of modems, etc today but the majority of testing will have to wait until tomorrow. Let me know if that is too late. Thanks for the new toy.:victory:

Update:

Got it to boot easily with standard clears and wipes.

Had to revert back to Lanight 8.5 DD to load a GAPPS package and some modems on my SD card, USB doesn't work for me. It comes up and says "Connected as installer" which my PC doesn't recognize. So, I loaded several modems, a couple of GAPPS packages and reflashed. (BTW, if I select MTP in the USB select option, the PC sees the I897 but can't read the memory)

No advanced recovery options, have to power down and 3 button to recovery (Boo!)

KDH_Next_Gen_GAPPS kills the setup wizard.

gapps-jb-20121117-JOP40C-dmd151 loads OK with a couple of force closes, those can be worked through.

No modems install or are recognized.

Manual APNs do not save.

Lockscreen is a little skewed with the clock being partially obscured on wake.

Checking for storage from settings kills settings.apk

More later.. Thanks Ace, most fun I have had all day.
[Captivate Android Development] AceofSpades90:
Play around with it that's why I posted here. Try new things and see if you can get it working. And share the findings here.

I will upload test2 today, hopefully the data,phone and storage issue is fixed.
[Captivate Android Development] Chuckd610:
I tried jl3, jk4 and kg3 modems, but none of them worked. This still is a great start. I see great potential with this one. I'll keep trying and reporting.
[Captivate Android Development] dave71670:
Maybe try replacing apns-conf.xml in system/etc with cm10 conf?
[Captivate Android Development] ChuckDaEngineer:
Thanks for the tip Dave71670, I will play around more tomorrow but I tried to replace some of the files in the zip and my 7zip or WinRAR couldn't recognize the format of the zipped files. Really weird. I PM'ed Ace on it. I will try more hacking tricks later. I love this kind of stuff.
[Captivate Android Development] Chuckd610:
Downloading the latest CM10 now. I'll replace the .xml and report back.
[Captivate Android Development] AceofSpades90:
Test2 is up (: Let the testing begin! Changelog for Test2 is huge so I prefer full wipe even if coming from test1.

Many things has been fixed from build.prop to storage and ril related framework issues. I hope the changes will take affect with the boot.

Test2 Changelog:

- Huge fix in build.prop

- Almost Everything ril/storage related in Framework has been hacked to work

- Added init.d fixes

- apns-config.xml has been edited

- Changed the modem

- vold.fstab hacked

- using the ril drivers from pawtip source code

- A lot more things has been changed that I don't remember

- Some drivers were edited to put on forced mode to work with the device

On a side note: I saw pawtip and CM10 jumped in to help bring 4.2 AOSP for I9000 and this is something I appreciate with all my heart's content. I don't have the time to test his build but i'm sure he did a decent job and the word is out he fixed many issues. I will look into his build whenever I get more time. You can flash his build after a minor edit in updater-script then flash the appropriate cappy kernel to make things work if you do decide to try it. Enjoy! (:
[Captivate Android Development] dave71670:
Hey Ace, which kernel did you include in your build? I am running aosp with devil and the storage issues are mostly all I'm facing. I think with the correct kernel this issue would be fixed. If you are using stock kernel I will give it a shot.
[Captivate Android Development] AceofSpades90:
I'm using Devil3_1.9.1_KLP_cappy_CFS_BLN_CMC_20121119.zip from HERE in test1 and test2 which is the latest for our cappy.

Derteufel said he fixed the mounting points(to make storage work) in his recent release of I9000 1.9.2 but that shouldn't be a problem since I updated Test1 AND Test2 with updated mount points so I don't see the need for 1.9.2 in my build. Everyone still has storage problems with 1.9.2, i'm more interested in pawtip's kernel if he does release it for our devices or I may have to find a way to compile it.

EDIT: Are you saying the data and phone is working for you? If that is the case, can you share how you got it to work?
[Captivate Android Development] dave71670:
I am using 1.9.1 as well. I know that pawitp fixed mount points in his kernel so I may have to compile it since he has the source up. I am downloading your build now. Thanks Ace
[Captivate Android Development] AceofSpades90:
Thanks for always helping me out (: lol. Can't appreciate enough.
[Captivate Android Development] dave71670:
No problem. I am getting file for repo now. I will let you know how it goes.

Edit: Just saw your edit. I am using a modified version of pawitp's build. It is the ril changes that he made to get data and phone to work.
[Captivate Android Development] AceofSpades90:
oh ok, the only place left untouched is service.jar under framework lol I messed around with pretty much everything I known existed or has to do with ril.

Someone in pawtip thread said he changed his dpi to 210 and the storage worked? Did you try it? Does it work on pawtip release? I'm just curious if dpi has anything to do with it... hmmm..
[Captivate Android Development] dave71670:
I just tried and as I suspected dpi didn't make any difference. He has storage working out of the box with his kernel so I think that is where the issue lies.
[Captivate Android Development] AceofSpades90:
lol THANK YOU! I thought I wasn't bright enough for such an original and creative idea haha
[Captivate Android Development] ChuckDaEngineer:
Lost Root

Ace,

I lost root when I installed test2. Alot of other things are definitely fixed though. I will play around a bit and see if I can get root back and do some further testing. Great job again.
[Captivate Android Development] Edwardayy:
Looks like a good start, will try when there are less things that don't work. GL.
[Captivate Android Development] AceofSpades90:
Devil 1.9.4 released for I9000, flash it and see if the storage issue is resolved.
[Captivate Android Development] sephhi:
How's it coming along Ace?
[Captivate Android Development] AceofSpades90:
Boom ;)
[Captivate Android Development] ghoster76:
"

Unfortunately the process.com.android.phone has stopped" after flashing your v9.1
[Captivate Android Development] samm000:
process.com.android.phone has stopped

got the same problem "process.com.android.phone has stopped"
[Captivate Android Development] AceofSpades90:
I'll release a fix as soon as i get some extra time. It is a beta test release, expect problems. Thanks for the feedback though.

Anyways, right out the bat I could only think of this patch from previous LaNight release...

http://www.mediafire.com/?i8bm2o3hrstvzi9
[Captivate Android Development] samm000:
I have tried youre patch but it didnt work :(
[Captivate Android Development] :
Its a kernel based issue. Tried putting the devil used here on pawtips build and had the same thing.
[Captivate Android Development] cbalt:
You are correct....1.9.5 also has the issue

Here is what should be the fix http://www.mediafire.com/?qk78dsmkgrg6icv Flash in CWM. :cool: I am not running LaNight so I can not verify it.
[Captivate Android Development] ChuckDaEngineer:
I tried injecting pawitp kernel in the Rev2 LaNight hackfest and everything booted fine but I couldn't access the market. I will try again with the latest beta when I get a little time.
[Captivate Android Development] samm000:
Cbalt: The cm kernel you provided worked. I hope that the devil fix soon be implanted.
[Captivate Android Development] sephhi:
Yep pawitp's kernel fixes the issue. I just released a theme in his thread. It also works for this rom.

Link
[Captivate Android Development] AceofSpades90:
Android 4.2.1 is out for AOSP and in LaNight testing.
[Captivate Android Development] MrSwiss876:
the font has a bold look, is there a way to use a normal font. no offense, but the font is rather ugly
[Captivate Android Development] AceofSpades90:
There are I believe bunch of apps in android market that can change fonts (cause all the fonts are provided in the rom. Unfortunately, I compiled with the fonts and wrong once became default by accident but c'mon it's a beta release...)
[Captivate Android Development] BTRL30NTM:
I like the font.
[Captivate Android Development] AceofSpades90:
Android 4.2.1

Android 4.2.1 (JOP40D) and LaNight 9.2 Stable has released! A lot of stuff was driven towards battery management and stability and fast dormancy and other stuff are turned on by default. All the LaNight features are back from usual options (in settings/notifications/power menu and stuff like that) and customization (TV out feature and options) with the stable release. Follow the flashing directions from OP.

- v9.2.1 Download is HERE

I need someone to post their screen shots of stock set up so I can put them up on the OP. I'd loved to have a screen shot of developer's option with the said settings applied if possible...

Hit thanks button below to let me know you like my work and If I should continue... If not? Do let me know anyway haha (:
[Captivate Android Development] samm000:
I have tried LaNight 9.2 but i get the this in cwm:

set_perm: some changes failed

E:Error in /sdcard/LaNightv9_2.zip

(Status 7)

installation aborted.
[Captivate Android Development] AceofSpades90:
Hmm seems like updater-script acting up... i'll see what I can do tomorrow. Flash back to 9.1 if you have it for now.

EDIT: Try to download again and see if it's working... sometimes you get a corrupt file from the net.
[Captivate Android Development] samm000:
I have downloaded again and i will test it, with 9.1 i get android.phone fc when i dont use the cm kernel, did you fix that in 9.1?

So that we can use it with devil kernel?

EDIT: (the new download gives the same error)!!
[Captivate Android Development] AceofSpades90:
I have a hack to fix Devil ramdisk but i'm not gonna go there, I break its modules lol so the hell with it... pawtip kernel seems to be working as intended for the time being and since I don't time to compile my own kernel i'll wait for devil kernel update...

Anyways, a newer build v9.2.1 is uploading in half an hour from now and will most likely fix the known bug.
[Captivate Android Development] samm000:
Ok, Thanks
[Captivate Android Development] AceofSpades90:
9.2.1 is uploaded!
[Captivate Android Development] Chuckd610:
The download went bonkers. The .zip downloaded, but I got a "unable to open, file corrupted" error. Just trying to determine if the issue is on my end or faulty upload. I'll download again and see what happens.....BTW, I downloaded using Google Chrome. Thanks
[Captivate Android Development] sephhi:
K, time to update my theme again, yay :/

Ace, thanks to you i'm not upgrading my cappy till the end of January next year.
[Captivate Android Development] ghoster76:
Same here, I'm so disappointed:silly:
[Captivate Android Development] samm000:
Dowloaded and running :) i hope that there will be soon an update on the devil kernel.
[Captivate Android Development] AceofSpades90:
All the people with wrong zip probably because they downloaded the file before it could upload :o
[Captivate Android Development] onlyu132:
The latest version running fine in my phone, it's smooth indeed. The only thing is my wifi doesn't work anymore, and the clock in the lockscreen seems to be cut out the bottom.
[Captivate Android Development] AceofSpades90:
WiFi working fine here. Try flashing with a complete wipe.
[Captivate Android Development] xchrisknightx:
System settings stops when I go to storage under settings menu also clock on lock screen is cut of at bottom. Other than that running good. Thanks for the great ROM.
[Captivate Android Development] sephhi:
theme uploading...

---------- Post added at 12:11 PM ---------- Previous post was at 12:00 PM ----------

Try these fonts. http://www.mediafire.com/?81cugabbsv29y9y

---------- Post added at 12:39 PM ---------- Previous post was at 12:11 PM ----------

Nevermind...media scanner just took longer than usual.
[Captivate Android Development] Chuckd610:
After 2nd download, all is well!

---------- Post added at 07:33 AM ---------- Previous post was at 07:31 AM ----------

+1
[Captivate Android Development] sephhi:
Can anyone mount to PC?

---------- Post added at 03:21 PM ---------- Previous post was at 03:03 PM ----------

I think the lockscreen clock problem is due to the rom being xhdpi.
[Captivate Android Development] :
Use "USB mode switch for SGS1 on CM" on the Play Store. Works for me.

Ace, here are some screenshots:

Anyway to change the toggles? Can't seem to find the menu.
[Captivate Android Development] sephhi:
Here is a fix for the lockscreen clock Clock Fix
[Captivate Android Development] samm000:
I dont have developers settings?
[Captivate Android Development] :
Settings/About Phone/Tap build number 7 times.

For some reason, I can't send texts :(
[Captivate Android Development] sephhi:
+1
[Captivate Android Development] Wwebmonster:
+1 and problem receiving calls/
[Captivate Android Development] egilbe:
storage does force close...damn!
[Captivate Android Development] alabarym:
Bluetooth is not working in beta 9.2.1

What evidence can I provide to help you?
[Captivate Android Development] AceofSpades90:
Try the Bluetooth patch from pawtip thread and report back.
[Captivate Android Development] alabarym:
Thanks for the tip.

No it did not help :(

Should I try devil kernel?
[Captivate Android Development] alabarym:
Hi sephhi

Unfortunately your pure42 is not compatible with LaNight 9.2.1

I have got into eternal boot ..

Anyhow thanks for great work!

Your themes are the best I've seen so far
[Captivate Android Development] sephhi:
Aye, when a new version of the rom is released I have to release an updated version of the theme due to changes in the new framework.

This will work for the 9.2.1 version: Pure for 9.2.1

Flash the font fix after flashing the theme.
[Captivate Android Development] ChuckDaEngineer:
You're the best Sephi, I want to be like you when I grow up. LOL.
[Captivate Android Development] sephhi:
Your words honor me, Sir Chuck.
[Captivate Android Development] alabarym:
Thanks for the theme sephhi.

It is really great, I appreciate your hard work

Some feedback:

1) t9 dialer is not working - it does in stock lanight 9.2.1

2) no Russian letters in dialer :) could it be fixed?

3) can you make color changes for network strength status bar when phone detects internet

Anyway thanks for the theme I really liked it
[Captivate Android Development] sephhi:
I'll look into the t9 issue. The Russian numbers I don't think can be fixed, sorry. Pm me with some more detail about number 3.
[Captivate Android Development] alabarym:
PM sent. Russian letters in dialer were present along with English ones in previous versions of your themes for LaNight 8.5 and 8.0
[Captivate Android Development] electroau:
Before I flash this on my wife's cappy , according to the op, sms is not working, it's there a fix that I missed?
[Captivate Android Development] corvx:
To OP:

I don't know much about development. But I also have a Nexus S, I thought this thread might be useful to fix storage fc and lockscreen clock widget padding issues:

http://xdaforums.com/showthread.php?p=34346123

If not, you can disregard my mesaage.
[Captivate Android Development] AceofSpades90:
Haha it don't help but I'm not the only person facing problems with 4.2.1 builds also HellyBean has been in testing wayyyyyyy longer then any other rom I could think of for 4.2.
[Captivate Android Development] ChuckDaEngineer:
Ace, don't worry about these guys that poke their head in and post with nothing useful to say. Your ROMs stand alone. Build as you wish and enjoy what you do.
[Captivate Android Development] s0ul_ali:
What are the stable kernel options available for 4.2 ? Is Semaphore released any 4.2 update yet ?
[Captivate Android Development] ChuckDaEngineer:
s0ul_ali, keep an eye on this thread and the 4.2.1 ROM from pawitp. They are your best bet for the latest info.

http://xdaforums.com/showpost.php?p=34851229&postcount=60
[Captivate Android Development] cbalt:
I probably shouldn't post this, but f it. I'm tired of everyone sucking up to ace. I have never flashed an aceofspades ROM except the version way back that I made for him since he asked for a slimmed version. He proceeded to ask me questions in which I answered to try and help him out. It ended with him stealing the version I made and removing a couple things and calling it his own. I wouldn't flash his ROM since personally I think he doesn't test his releases enough and they are far from stable. If u know anything about ROMs you can open up his zip file and look inside and see the proof. Does he build from source idk and honesting I don't care. I didn't post to thread crap his work, but instead provide a little insight. To the people that love his ROMs congrats on finding something you like, but you won't find it on my phone.
[Captivate Android Development] sephhi:
His roms are always the most responsive/snappy so he must be doing something right. Though I do agree with you on the testing bit. As for the rest of your grievances, I believe xda provides more appropriate ways of dealing with such matters.
[Captivate Android Development] cbalt:
I think you mean they always crash the most, every version you read about someone having problems. I kept it to myself and didn't say anything for long enough. When you don't even know what scripts you need to install a ROM and to edit to make another kernel work there is a problem. When ROMs have been missing files there is a problem. When you ask for my help and when I help you try to make your ROM better and you steal MY work there is a problem. If you would have rather remained in the dark, I am sorry for trying to shed some light for you. I am just tired of everyone praising him every release when they are complaining about something that crashes. If it works right hell yeah devs deserve praise, but when he rushes a product to the point you flash it and the first thing that happens is you get FCS how can you praise that? It doesn't matter anyways since I don't run his ROMs so I don't have to worry about my phone. BTW for people thinking this is thread crapping, I think the Pms I have would more than explain myself.
[Captivate Android Development] :
While I can vouch for them being snappy, SMS/MMS not working at all, shows the flaws of the rom. I used to use LANIGHT, and I am even a contributor to the rom occasionally (although I've been busy). Props to Ace for getting 4.2.1 built rather quickly, and working on the issues, but when the guy asked if he could help, Chuck's response was distasteful. The dude was trying to fix Ace's problems and was quickly attacked for not even using the rom. There is no need for us to fight, or argue over people trying to do what they can. In regards to cbalt, I can see where he is coming from as this happened to my rom a while back, but after some disputes, I just gave up. Hopefully they can settle their diferences, although cbalt has moved on from the Cappy I think. I just hope everything is fixed, and Ace/others are able to politely help people out because everyone started out as a noob at one point, and why not help them try to learn things and maybe develop also ?
[Captivate Android Development] cbalt:
Exactly all i have ever tried to do was help and give back to the community. I have moved on, but still use the cappy every now and then i now have an i777 and i9300 so the cappy hasnt been my focus. Although dave and i still talk and have talked about working as a team again. Nyg you have tried to give back to the community also, but you have never claimed someone elses work as your own.
[Captivate Android Development] AceofSpades90:
I don't have anything to add to the convo call it cowardness or call it respect. I learnt a lot from Cbalt and that is the fact. I am sorry if I have done something in past that gave you the wrong impression but I did give credits where it was due. I still remember you took my rom and taught me how to change partitions and slim a rom. If there is anyway I could make you content i'd be glad. (:
[Captivate Android Development] AceofSpades90:
LaNightv9.3 is released in tribute to Cbalt and his work for our cappys

Ok guys, I found the root cause of the problem with Bluetooth and SMS not working.

Changelog:

- Bluetooth now working

- SMS working

- Pawtip kernel, framework and system.apk is used so don't expect modded there

- Everything else is the same as 9.2.1

Download from HERE
[Captivate Android Development] cbalt:
It is what it is and its all in the past man. I just wish you would test your roms more before releasing them. Its not a competition to see who can release the newest android version first. Its about making a stable release so you dont have to chase yourself every release releasing a fix here and a fix there trying to fix the problems you would have never had if u tested more before release. Im all for anyone trying to make something for the community and understand all the hard work and time that goes in behind the thread that most people dont know about. Remember its always better to not have a release than have a buggy release. Just some food for thought man.
[Captivate Android Development] ChuckDaEngineer:
At the risk of getting flamed again, thanks Ace. I will give it a try and get back to you.