Will Verduzco · Jan 2, 2014 at 04:00 pm

Locked Bootloader Xperia S and Want CM10? No Problem!

Earlier today, we talked about a highly functional KitKat build for the Sony Xperia S created by XDA Recognized Developer RaymanFX and the OpenSEMC team. The release, which brings daily driver-status unofficial CM11 to the much loved Xperia S is perhaps the top choice for users looking for the latest and greatest software on their unlocked device.

But what about users who haven’t or can’t unlock their bootloaders? Well, that’s no longer an issue thanks to a ROM created by XDA Recognized Contributors djolivier and letama, and Recognized Developer atis112. The ROM is made possible thanks to a workaround developed by djolivier and letama, where a second ramdisk is loaded, from which CM is loaded and init is started again.

Letama explains the workaround best with the following:

Stock kernel is calling /system/bin/pre_hw_config.sh in its initramfs, we hijack the script to replace stock behavior to launch cm. To do that, I do it in two steps, first, pre_hw_config.sh will grab step2.sh and busybox from /system/bin, copy them to /tmp, relink busybox applets then launch step2.sh. Step2.sh will grab /system/bin/cm.tar, extract it to / then umount everything to start init again.

The ROM itself is essentially daily-driver capable, with essentially everything working and great performance and stability. However, a few users are reporting occasional random freezes, which can be attributed to some rendering issues. Luckily, there is an incredibly simple build.prop workaround that was mentioned by Senior Member piyush95 that seems to fix this.

If you have a locked Xperia S and want to enjoy the AOSP-derived CM10 goods, head over to the ROM thread and give this a shot. And while this is exciting in and of itself, the potential for other ROMs to build off of djolivier and letama’s workaround is the most exciting part. It’s therefore entirely possible for other developers to get KitKat working on locked Xperia S units using this workaround!

[Many thanks to LLy_BosHi for the tip!]


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mario Tomás Serrafero · Jul 5, 2015 at 11:00 am · 2 comments

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC's situation. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!     HTC is underperforming, and there isn’t much of a way of denying this. In April, their revenue nearly declined 40%, plummeting after the HTC One M9 had...

XDA NEWS
Mathew Brack · Jul 4, 2015 at 05:07 pm · 4 comments

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading speed, audio and selfies. Whilst you are surely astounded that HTC won every time, the tests were incredibly biased and their release shows something concerning about the company and how they are performing in the current market.     One of the many reasons companies tend to utilize blind trials is when they feel that their product is comparable or better than its competitors. This leads to the assumption...

XDA NEWS
Mario Tomás Serrafero · Jul 4, 2015 at 12:00 pm · 5 comments

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a million apps on the Google Play Store and new apps being submitted to our forums every day, staying up to date on the latest apps and games can be a hassle. At XDA we don’t discriminate apps - if it’s interesting, innovative, original or useful, we mention them. The XDA Portal Team loves apps too, and here are our top picks for this week.  ...

XDA NEWS
Share This