If that hardware don't have a replaceable battery, then is flawed from start. Open sourced O.S. means nothing if you are limited by this restriction. Also, this phone must have an open hardware and MOST IMPORTANT access to the processor pins that permit loading and debugging the firmware (actually, there must be an accessible connector that offer access to those pins). That means to own the phone. ANYTHING ELSE IS JUST TRICKERY!