[DEV] [ROM] [N1] Evervolv Jellybean (4.1) - Nexus One Android Development

Jellybean 4.1
ALL USERS SHOULD UPGRADE TO JELLYBEAN 4.2
Known Issues:
USB Tether
P2P: (not supported by hardware)
...
Click to expand...
Click to collapse
New BLACKROSE Hboot required for jellybean
Downloads: MD5SUMS
System: 260 Cache: 8 Userdata: 168 (recommended, future proof, fits any gapps)
System: 250 Cache: 8 Userdata: 178 (should be safe)
System: 230 Cache: 8 Userdata: 198 (possible but you need to use bextons gapps installer and dont install offline voice recognition)
System: 210 Cache: 8 Userdata: 218 External gapps required (see 3rd post)
Why does /system need to by so big? Well to put this in perspective the gnex and n7 have 600mb /system partitions. So their /system is larger than our entire nand (~430mb usable). The 'base' android build is <200mb. The real bulk comes from gapps which are like +40mb the bulk of that is the new voice recognition dictionaries for google now. So theres the gist. Now heres the problem. Dalvik-Cache will be no smaller that 100mb so we're pretty much left with 60mb for apps and data. Which is way too small. Which makes a2sd pretty much required. If youre like me and have <10 apps the builtin a2sd should work fine otherwise you will need m2sd (see QA below) or you wont be able to install /anything/ from the market due to 'low storage space' errors.
To flash
Code:
adb reboot bootloader
fastboot flash hboot hboot_jellybean_260-8-168.nb0
fastboot reboot-bootloader
Should see "Jellybaby" on second line
Code:
fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase cache
Boot recovery. Flash your zip
QA:
**I dont have enough space for all my apps? A: try m2sd
**Where can I get info on the builtin a2sd? A: see here for quick run down.
**What is blackrose? A: Please do NOT try and flash this until you find out. And do NOT ask in this tread
**Why is my screen not working? A: Reformat your sdcard. Sounds stupid but its the answer
Click to expand...
Click to collapse
----------------------------------------------------------
For tarball: It is now xz compressed (depreciated new method below)
Code:
tar -xaf <release>.tar.xz
fastboot erase system
fastboot flash system system.img
fastboot erase boot
fastboot flash boot boot.img
To flash with fastboot: use the zip appended with "-fastboot-update"
Code:
fastboot erase boot
fastboot erase system
fastboot update Evervolv-3.1.0-<release>-fastboot-update.zip

DOWNLOADS
Downloads: http://dl.evervolv.com/
Nightlies
For nightly changelogs reference gerrit. or the changelog.html in the dl directory for shortlog (blank means no changes were pulled)
These are automated builds and might not work properly but the general rule: its probably fine.
Gapps:
Usually the newest is best (http://goo.gl/LJiTC)
Releases
thanks to bexton for the host for releases
Note about *mini* builds: Strips out video editor, boot animation, international dictionaries, some fonts and ringtones to fit on smaller /system. needs ~230mb /system (wont fit on stock hboots)
Changelog
Evervolv-Perdo-3.1.0p1-passion (10/17)
Merge android 4.1.2
fix trackball notifications
transparent lockscreen
some kernel changes to ondemand governor for better meshing with userspace powerhal
Enable vsync
Click to expand...
Click to collapse
Evervolv-Perdo-3.0.0p6-passion (10/05)
Bump JRO03R
Partialy working camcorder
Misc updates*
Click to expand...
Click to collapse
Evervolv-Perdo-3.0.0p5-passion (9/19)
fix 3g network discovery
a2dp: bluetooth audio (via tyler hall)
more dictionaries
launcher rotation
new kernel
update openssh, busybox
no more legacy camera, using gallery version now (preview has some issues)
new default wallpaper
a2sd supports new jb folder app-asec
fix capacitive button backlight with autobrightness
webgl in stock browser
ctr-screen off animation
Click to expand...
Click to collapse
Evervolv-Perdo-3.0.0p4-passion (8/10)
bump JRO03L
add more features: battery percent, powermenu screenshot, t-9 dialer, 6bar signal
update adreno libs
split long sms instead of convert to mms
experiments with power hal to extend battery life on standby
linaro bionic optimizations for a bit of speed
Camera should be able to take pictures
Click to expand...
Click to collapse
Evervolv-Perdo-3.0.0p3-passion (7/31)
Kernel update: data usage shows up in settings, add avs, switch to caf ondemand gov
Update Superuser
Port jumpytouch filter from ics (thanks thoemy) for better pinch to zoom
bump to JRO03H
HWA now working (no butter)
EVToolbox is back (trackball/volume wake, vol music control, ics lockscreen)
Click to expand...
Click to collapse
Evervolv-Perdo-3.0.0p2-passion (7/19)
I'm pretty tired and dont feel like rebuilding just to bump the version. So here is a p2 'nightly'. That was really only built to test a cron script. but should work just fine.
Fixes:
Wifi tether (used it all day today)
browser rendering
paid apps (untested)
googles apps on sd (untested)
Superuser
Click to expand...
Click to collapse
Evervolv-Perdo-3.0.0p2-passion (7/16)
Wifi signal. (switched to bcmdhd) (maybe broke wifi tether)
Apps2sd (cant format the partition, i forgot to add e2fsprogs to the build)
Sound. (probably)
Reboot menu
Usb mass storage
Trackball (no wake yet)
Click to expand...
Click to collapse
Evervolv-Perdo-3.0.0p1-passion (7/14)
Initial release
Click to expand...
Click to collapse

HOWTO: external gapps
Cautions:
-This is an alternative to flashing the gapps zip in recovery. Do not do this if you have flashed gapps through recovery
-For m2sd users see here
Gist:
Instead of wasting nand space installing 50+MB of gapps to /system we will place them on /sd-ext and create symlinks to /system. This means you can reduce the /system partition to 210MB safely and still have full gapps. In principle, after the initial setup this will survive wipes and updates (assuming you dont format /sd-ext).
The main reasoning is reading from the sdcard should be just as fast (or faster especially with journaling disabled which is now done automatically by the init mount script) than from nand. But random writes to the sdcard are going to me much slower than nand. So if we are only reading from the sdcard and writing all our data to nand it should be much faster.
getting the gapps in the right place
# via adb
Code:
# extract the gapps zip on you desktop
# create directory on device
$ adb shell mkdir -p /sd-ext/gapps/system
# push the system folder to device
$ adb push ~/Downloads/gapps/system /sd-ext/gapps/system
# make sure directories are right init script depends on this exact placement (mainly check we dont have gapps/system/system/)
$ adb shell ls /sd-ext/gapps/system
app etc framework lib usr
# enable extgapps (quotes needed)
$ adb shell "echo x > /sd-ext/gapps/.extgapps"
# gapps dir should look like this (if .extgapps doesnt exist the init script wont run)
$ adb shell ls -a /sd-ext/gapps/
.extgapps system
# reboot and wipe device
$ adb reboot bootloader
$ fastboot -w
$ fastboot reboot
# via root explorer (these are fairly rough)
Code:
-click on the gapps zip on sdcard to open
-long press the system folder -> extract -> 'go to extracted'
-long press the system folder (the extracted one) -> copy
-navigate to /sd-ext
-menu -> new folder -> name it 'gapps'
-open gapps -> paste (system folder)
-menu -> new file -> name it '.extgapps' the dot is required
# directories should now contain:
# /sd-ext/gapps should have: .extgapps, system
# /sd-ext/gapps/system should have: app, etc, framework, lib, usr
-reboot recovery -> wipe data
once its setup
# on reboot
Code:
# symlinks will be created on boot
# look at beginning of logcat to ensure links were created
$ adb logcat -C
.....
I/extgapps( 137): Removed Provision
I/extgapps( 139): Removed QuickSearchBox
I/extgapps( 145): Created /system/app/Talk.apk
I/extgapps( 148): Created /system/app/ChromeBookmarksSyncAdapter.apk
I/extgapps( 151): Created /system/app/GoogleBackupTransport.apk
I/extgapps( 154): Created /system/app/GoogleCalendarSyncAdapter.apk
I/extgapps( 157): Created /system/app/OneTimeInitializer.apk
.....
let me know how it works for you.
You will now never need to flash gapps again.

Nice work! i tested on my device and its running very nice.
Function Tests:
- boot without errors
- UI (HW) is very good (cool Animation ). Touch input slowly
- HSDPA / GSM works
- WLAN works verys good, but system show wlan connection very low.
- Android Browser has render problems (Google Chrome works fine)
- sound volume keys works with sound
- sound in media player works
- phone sound doesn't work
- gallary works nice
- widgets works with auto position
- m2sd script doesn't work (http://forum.xda-developers.com/showthread.php?t=1342387)
Google Apps:
- Google Play works fine
- Google Maps - multitouch is not useable
- Google Mail works fine
- Google Calendar works fine
- Google Contact works fine
- Google Talk works fine
Its a very stable alpha! THX

I might give this a shot in a bit. How are the ui and animations feeling? Are they noticeably smoother on Jelly Bean than ICS or does project butter not make a difference on the nexus one?

the ui and animation is very smooth. i love the animation between the switch of activitys...
only the touch events are slowly. if gapps works -> n1 with 4.1

Cannot wait to try this. Serious props!
Sent from my Nexus One using xda premium

Someone çan tell me which is thé Best hboot
Sent from my Nexus One using Tapatalk 2

xeloni said:
Someone çan tell me which is thé Best hboot
Sent from my Nexus One using Tapatalk 2
Click to expand...
Click to collapse
This will probably change as system will probably grows!? For this pre-release you can use the same as for TexasIce Cream Sandwich (220 for system partition).
edit: you should be fine with 210, too. That is the disk usage after installation:
Code:
1|[email protected]:/ # df
df
Filesystem Size Used Free Blksize
/dev 202M 32K 202M 4096
/mnt/asec 202M 0K 202M 4096
/mnt/obb 202M 0K 202M 4096
/system 220M 178M 41M 4096
/data 200M 56M 143M 4096
/cache 16M 1M 14M 4096

It's already smooth with the first prealpha. I can't wait the next prealpha's !
Good job and thanks
Sent from my Nexus One using xda app-developers app

For those who care: USB Mass Storage works with my "old" UMS App for ICS (v1.1.4). However, you need root to use it. So you have to flash Superuser-3.2-arm-signed.zip via recovery first.
------
Edit: Confirm that everything on the "what works"-list, works for me too (including mobile data). Only thing so far are some tiled graphic glitches noticed in browser and email:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

What are the commands for flashing this via fastboot?

creebefu said:
What are the commands for flashing this via fastboot?
Click to expand...
Click to collapse
Make a NANDROID backup via recovery. Then boot into bootloader mode and from command line type:
Code:
fastboot -w
fastboot flash system /local/path/to/system.img
fastboot flash boot /local/path/to/boot.img
fastboot reboot
----
jelly easter beans

is the HBOOT the same as ics?

Yes
Sent from my Nexus One using Tapatalk 2

It's incredible the fastness of this release! It's a prealpha and it can operate faster with things than ics! e.g. recent apps, app drawer, etc
I can't thank texasice enough for your work and effort in ics and jb's stuff

Bexton said:
Make a NANDROID backup via recovery. Then boot into bootloader mode and from command line type:
fastboot flash boot /local/path/to/boot.img
Click to expand...
Click to collapse
What is the boot image?

creebefu said:
What is the boot image?
Click to expand...
Click to collapse
Download the tarball file on the OP and extract the images.

OMG I'm an idiot... thanks.

I know It may be early to ask, but here It goes:
DO you guys feel that "Project Butter" made difference for the N1? Is the Interface smoother than ICS for us? (I know reports indicate slow Touch input, but It may be just regarding touch Input really... I ask about the UI(transitions and Kinecting scrolling speed) in general...]
I really cn't test on my own, cause my N1 is my Daily Driver.

Related

[ROM] CyanogenMOD BakedGoods 1.1 full of features 03/13/10 3:52pm

For the time being I am unable to continue development as I no longer have a computer to develop on.
If you would like to help me get going again please Donate
This ROM started off as a MOD of cyanogens 5.0.4.1 but I believe there has been enough additions/subtractions to call it a ROM
Optimized 2 is an unthemed unoptimized/faster cyanogen build. After that read the Changelog to see whats inside
CHANGELOG:
OPTIMIZED 2:
-same optimization/compression other than some choice .apks
-reverted to cyans 5.0.3.1 kernel (.32) (.33 is not as fast and I dont like cfq) (please cyan switch to deadline istead of cfq)
-removed backuptool.sh so now ur gapps should have no conflicts
-added tools to update script to delete certain apps from system
-kept original compression on certain Google .apks to stop incompatibility
-optimized .pngs on those apps that were not compressed
-slight possibility of launcher2 fc/wait (recommended a reboot after signing in to google)
-no capacitive button "area expansion" (never noticed a difference anyways)
-Cranktone added to ringtones list (best ringer ever)
-decompressed and reoptimized fixed voice search
OPTIMIZED 2.5:
-Themed by brandenk (KSpec)
-all png edits optimized
-all themed apks compressed
-added a slew of ringtones/notifications/alarms/wallpapers from kspec
-added rwsystem and rosystem toos to bin
OPTIMIZED 3:
-implemented a2sd using kings script (to enable go to terminal and type: $su (enter) #kingmadethis.sh (enter) #reboot (enter) )
-edited the boot.img (ramdisk)
-changed color of time to red. Because time is important
-cleaned up alot in bin to allow faster start/shutdown
-some framework edits
-also tossed in ctso's "sexy nexus" live wallpaper setting
-more im forgetting to mention
-lots more theming to the mix (thanks samuaz for letting me steal some .pngs)
-Super Mario Mushroom notification (great tone)
-EXT4 partition required if you want a2sd
BakedGoods 1.0:
-merged some updated stuff from epe54b
-libaudio, libril and libhtc_ril from epe54b (should be better connection)
-my new kernel based on cyanogens source (thanks a ton king! you dah man) (thanks cy! you dah man)
-more theming (thanks brandenk! We've made AOSP sexy fast)
-more optimization
-white clock
-so fast you might want to tell it to slow down
-capacitive button fix
-now using .33 kernel (made on my moms distro lol)
-more i am forgetting
-thank you king for walking me through on how to compile a kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
king
BakedGoods 1.0.1 (no-wipe)
-blue color on power widget
-new launcher2 mod (view http://forum.xda-developers.com/showthread.php?t=641216 for details) fixed his wallpaper problem
-went back to stock dialer (too many issues with sixing for some people) i like nubdial or dialerone anyways
-new normal kernel number 3 by me (.33)
-some new images for google voice and settings
BakedGoods 1.1:
-added trackball succession (never miss a notification again)
-created script to replace modded launcher 2 with stock (type su in terminal and then type idontlikeit.sh) (ignore error and press home)
-added some apns (if you want your apn in there send me a pm request)
-click trackball to unlock phone (thanks metalhead) (go to settings>sound&display to enable
-click trackball to skip song (metalhead)
-battery meter now shows estimated percentage w/o draining battery
-removed some wallpapers and tones for space
-added updated spareparts
-added wireless tether for root users
-went back to stock browser icon
-rotate on stock launcher
-stock launcher will fc when missing wallpaper is chosen (fix will be in next release)
-more i must be forgetting
MOST PROPER WAY TO GET A2SD SETUP AND ALL FEATURES WORKING:
If you cannot get a2sd to work try following these 3 videos:
part 1: http://www.youtube.com/watch?v=_P3T2mf5Pu8
part 2: http://www.youtube.com/watch?v=FdKBmWU-ALg
part 3: http://www.youtube.com/watch?v=UCuJmKhxGOM
setup partitions through amon ra 1.6.2 as so:
swap partiton=0
EXT4=512mb
fat32=remainder
wipe data
wipe dalvik-cache
wipe ext
wipe battery settings (just for good measure)
wipe rotate settings (also for good measure)
flash ROM
boot phone and log in to google (not required just recommended)
go to terminal and type:
$su (press enter)
#kingmadethis.sh (press enter)
#reboot (press enter)
I recommend wiping. but who am i to say ive been wiping since ive been off the pullups
You should see performance enhancements on majority off system applications
This is now an optimized 5.0.4.1. the old link has been removed due to inferiority.
Baked_Goods_v1.1: http://www.4shared.com/file/240643327/e1212527/Baked_Goods_v11.html
temporary wifi fix for those with problems: http://www.4shared.com/file/241483398/bc25a6c3/_2__temp_wifi_fix.html
Baked_Goods_v1.0.1_nowipe: http://alldroid.org/threads/15957-Hero_Over-AOSP-w-gapps-themed-a2sd-more-goodies!
without theme: coming soon
Baked_Goods_v1.0: http://alldroid.org/threads/15957-Hero_Over-AOSP-w-gapps-themed-a2sd-more-goodies!
without theme: http://www.4shared.com/file/239408947/4af8cb77/Baked_Goods_v10unthemed.html
OPTIMIZED 3: http://alldroid.org/threads/15957-Hero_Over-AOSP-w-gapps-themed-a2sd-more-goodies!
OPTIMIZED 2.5: http://www.4shared.com/file/233857684/372992ef/CyanogenMOD_5041_Opti25-KSPEC.html
OPTIMIZED 2: http://www.4shared.com/file/233672339/dbb33750/CyanogenMod_5041_Modded_Opti21.html
SCREENSHOTS:
Thanks Cyanogen for the brilliant work and I hope you don't mind me posting this.
Nice, how much space did you save?
I'm going to try.
64mb free before
DocRambone said:
Nice, how much space did you save?
Click to expand...
Click to collapse
its about 1mb thats saved on initial look. but if you look at the .apks in the /system/app folder theres about 10mb saved in apks
edit: after killing all programs in advanced task killer I am left with 115mb free!! and the lowest ive seen with all my apps on memory was 15mb
Hero_Over said:
its about 1mb thats saved on initial look. but if you look at the .apks in the /system/app folder theres about 10mb saved in apks
Click to expand...
Click to collapse
Did you zipalign all the apk's? (lot of work ...)
DocRambone said:
Did you zipalign all the apk's? (lot of work ...)
Click to expand...
Click to collapse
yes sir. there are scripts for that! lol
Hero_Over said:
yes sir. there are scripts for that! lol
Click to expand...
Click to collapse
Well done.
Anyway, your work seem to pay, my nexus feel a bit snappier than before
DocRambone said:
Well done.
Anyway, your work seem to pay, my nexus feel a bit snappier than before
Click to expand...
Click to collapse
Thats what I felt and thats why I posted . Thanks for the positive feedback.
I may be missing something, I understand optimizing the .pngs, etc. but Cyan does have zip-align on install of apks, except I guess the system apps because of the Google C&D he can't do that. But in taskiller with I have 33 apps shown as active and I have 180mb free memory on Cyan 5.0.4. Just wondering if there's a difference besides system apps being zip-aligned.
JoshHart said:
I may be missing something, I understand optimizing the .pngs, etc. but Cyan does have zip-align on install of apks, except I guess the system apps because of the Google C&D he can't do that. But in taskiller with I have 33 apps shown as active and I have 180mb free memory on Cyan 5.0.4. Just wondering if there's a difference besides system apps being zip-aligned.
Click to expand...
Click to collapse
I think that cyanogen optimizes already all of the apps and everything that needs to be optimized (apart from the google apps for known reasons)
JoshHart said:
I may be missing something, I understand optimizing the .pngs, etc. but Cyan does have zip-align on install of apks, except I guess the system apps because of the Google C&D he can't do that. But in taskiller with I have 33 apps shown as active and I have 180mb free memory on Cyan 5.0.4. Just wondering if there's a difference besides system apps being zip-aligned.
Click to expand...
Click to collapse
.pngs are optimized, all apps are zipaligned, .apk's are compressed.
-.png optimization makes images faster to display and use because it is less load on images
-apks are a type of compressed files (kinda like .zip) when these files are compressed more the apps take up less memory, leaving more mem free for other apps
-zipalign takes uncompressed data with in .apks (raw files and images) and aligns it into a 4byte code structure (this usually happens on first boot)
Thanks . Downloading right now, will post my impressions!
just wanted to include a pic comparing app folders between stock cmMOD and this edit. His is on the left mine is on the right.
http://i25.photobucket.com/albums/c84/LegalizeLegalize/2010-02-27160629.jpg
Hero_Over said:
just wanted to include a pic comparing app folders between stock cmMOD and this edit. His is on the left mine is on the right.
http://i25.photobucket.com/albums/c84/LegalizeLegalize/2010-02-27160629.jpg
Click to expand...
Click to collapse
Any chance you could possibly make a version with stock Messaging app? I really hate the one he included in his new build . The new vibrate pattens and blinking blow IMO .
afive720 said:
Any chance you could possibly make a version with stock Messaging app? I really hate the one he included in his new build . The new vibrate pattens and blinking blow IMO .
Click to expand...
Click to collapse
dont have the time to ul a new build but ill tell you what to do
place mms.apk from the older cyanogen mod or stock build on the root of your sdcard and follow these steps in terminal:
$su
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
#rm /system/app/Mms.apk
#cp /sdcard/Mms.apk /system/app/Mms.apk
#exit
$exit
Hero_Over said:
dont have the time to ul a new build but ill tell you what to do
place mms.apk from the older cyanogen mod or stock build on the root of your sdcard and follow these steps in terminal:
$su
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
#rm /system/app/Mms.apk
#cp /sdcard/Mms.apk /system/app/Mms.apk
#exit
$exit
Click to expand...
Click to collapse
Thank you Will try
i just flashed, my messaging app is stock...?
Initial impressions = tiny bit snappier (maybe a placebo effect though!!)
edit: after playing with it for a bit....definately not placebo
Hero_Over said:
.pngs are optimized, all apps are zipaligned, .apk's are compressed.
-.png optimization makes images faster to display and use because it is less load on images
-apks are a type of compressed files (kinda like .zip) when these files are compressed more the apps take up less memory, leaving more mem free for other apps
-zipalign takes uncompressed data with in .apks (raw files and images) and aligns it into a 4byte code structure (this usually happens on first boot)
Click to expand...
Click to collapse
Just want to say thanks for this. I just flashed it and it works a bit better than Cyan's 5.0.4. Everything is running a bit faster. Definitely recommend people give this a shot.
adam18488 said:
i just flashed, my messaging app is stock...?
Initial impressions = tiny bit snappier (maybe a placebo effect though!!)
edit: after playing with it for a bit....definately not placebo
Click to expand...
Click to collapse
So its a bit more noticeable?
Do I need to wipe before flashing this? Coming from cm. 5.04

[DEV] CM7 Developers Thread

Please limit this thread to development comments and questions!
The users thread is for all other posts.
When in doubt, post in the users thread.
After many long nights of banging our heads against keyboard, the CM7 port is finally shaping up.
In addition to nightly releases, we may from time to time be releasing test builds here for your feedback and enjoyment. If you find issues please feel free to post here in this thread. Leave all other feedback for the user thread.
Where to get progress news:
I will tweet progress from time to time.
Twitter: @dalingrin
We are usually in #nookie on freenode.
You can always check the Cyanogen [email protected] http://github.com/cyanogenmod​
Current Issues
DO NOT FORMAT YOUR SD CARD IN CM7. DUE TO A VOLD ISSUE THIS WILL FORMAT YOUR /BOOT INSTEAD OF THE SD CARD!
****Should be fixed in nightly 13****
-Standy battery life is not as good as stock
Because of a kernel bug CM7 does not fully sleep. The result
is ~1% battery drain per hour while the screen is off. With normal use I usually go
1 - 2 days between charging.
***fixed in 2.6.32 builds***
-A few apps do not scale to full screen
In order to get Market and Maps to work fully the lcddensity has to be
set to something other than 160 causing a few apps not to scale properly.
-Wifi slow to reconnect at times
****fixed****
-Video playback is slow
****fixed****
-Default rotary lockscreen does not fit screen
****fixed****
-Market partially works
****fixed****
-Bluetooth does not work
****Update**** Bluetooth now works in CM7.
Bluetooth is working seemingly perfect except for the range. Unfortunately, the range is terrible.
Depending on the device you are paried with, the range is between 1-5ft. Any ideas on how to
fix the range issue would be much appreciated.
-Do not use SetCPU profiles
If you enable SetCPU profiles it will become a runaway process eating 100% cpu.
Setting your cpu clock can be done in Cyanogenmod Settings. Under Performance->CPU Settings
-Internal storage partition is not mounted on boot and is not shareable via USB
****fixed****​
Download and Install
MUST USE 3.0.1.0+ RECOVERY:
This is installable ONLY with an ext4 aware Clockwork Mod Recovery.
*** Also it is critical to be aware that installing CM7 will write to the internal emmc of your device. You are advised NOT to try it. But if you choose to do so, understand you do so entirely at your own risk. Read sections 15-17 of the GPL for the gist of this disclaimer. There is no warranty or claim of usefulness or fitness for any particular purpose. No one but you shall accepts responsibility for what may happen if you download or try to use this development software. ***
Download for CM7:
Nightlies:
http://mirror.teamdouche.net/?device=encore
Install instructions:
http://forum.xda-developers.com/showpost.php?p=11452450&postcount=19​
Post Reserved.
Developer Tips
(Standard do-at-your-own-risk-and-responsibility disclaimers apply.)
* For those developers building from source:
In $OUT, you'll find a few files:
recovery.img --> rename to uRecRam
kernel --> rename to uRecImg
Now you've got the ext4 clockworkmod for mmc built from source.
* Also, there's also a script in $OUT called:
sd_ramdisk_packer.sh
Assuming this works, it should repack your $OUT/root (mmc ramdisk) into a uRamdisk that can be used with a bootable SDcard. The stuff in /system would go in the /system partition of the SD card (p2).
The result: a bootable CM7 on SD. It may not be wise to distribute as Cyanogenmod for encore is a fast-moving target-- unless you plan to create a new one every day or something.
* If you don't like the buttons at the top for some reason, there's the SoftKeys app as well as Button Savior.
* There is a slightly-themed u-boot.bin in device/bn/encore/prebuilt/boot/. It is simply a recompiled u-boot from BN's source.​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Info about emmc geometry
If your emmc is hosed and you want to start COMPLETELY from scratch, understand that the underlying geometry (before any partitions are created) of your emmc must be set up correctly on OMAP machines such as the nook before any partitions are created.
You can read more about that stuff here. If you are booted into an "emergency" SD card and have a totally hosed emmc, you can use fdisk to format /dev/block/mmcblk0 to the correct geometry, and then create the partitions one at a time, with a vfat partition as your /boot partition (p1). Then put mlo, u-boot.bin, uImage, uRamdisk, uRecImg, and uRecRam in /boot (p1) and you should have a bootable system.
Read the link above about SD/MMC formatting for OMAP3. Your nook is an OMAP3621, so you gotta get that geometry right, otherwise it won't boot. Luckily, the instructions on using fdisk are pretty good.
More info:
your emmc: /dev/block/mmcblk0
your sd: /dev/block/mmcblk1
Partition Info
the partitions you should have created are at:
/dev/block/mmcblk0p1 == /boot
/dev/block/mmcblk0p5 == /system
etc
/boot, /rom, and /media are of type "vfat"
/system, /data, and /cache are of type "ext4"
/factory (p3) isn't used by cm7
partition 4 is just there to allow you to create partitions 5-8
Sample instructions for copying files from cm7 update.zip on local computer to emmc /boot
You should be able to copy those four files simply by getting the lastest cm7, unzipping it on your computer, then once you boot into your bootable SD card, do:
Code:
COMPUTER> adb shell
# mkdir /data/bootmountpoint
# mkdir /data/systemmountpoint
# mount /dev/block/mmcblk0p1 /data/bootmountpoint
# mount /dev/block/mmcblk0p5 /data/systemmountpoint
# exit
COMPUTER> adb push mlo /data/bootmountpoint/
COMPUTER> adb push u-boot.bin /data/bootmountpoint/
COMPUTER> adb push uImage /data/bootmountpoint/
COMPUTER> adb push uRamdisk /data/bootmountoint/
COMPUTER> adb push my/path/to/sdcard/system /data/systemmountpoint/
Man, everyone makes better (prettier) release threads than I do.
oups, to delete
I can mount SD card find from my PC on Ubuntu.
Some apps don't show up on search, only one worth noting right now is Dolphin browser. I can find all kinds of add-ons, but not the app itself.
The lockscreen defaulted to the slider, but when I rebooted it went back to rotary. I went to settings and changed it back to slider.
Edit: Also to note is when I first launch the market, I get a force close on search function unless I use menu->search first. Will try fix permissions. Edit: fix permissions doesn't work, I must use menu->search the first time.
Edit 2: Beautiful Widgets shows up in market but says it isn't there when I try to install.
I had no trouble mounting SD to my PC (windows 7 64). I don't remember which now, but many apps showed in market, allowed me to install, but when I tried to 'open' from their market page I was told they weren't there - just opening my app drawer showed them and they worked fine. Something in market for that one.
screen on/off notification
is the screen on/off setting working?
I've also been able to mount to sd via Ubuntu and OS X.
Is there any way to get/use the recovery without using a burn to SD method?
going to try it out now... thanks dalingrin
i notice the file name is the same as the first test release. hopefully i have the right file.
-edit-
so yes i did have the correct file. lockscreen fix works and am still able to change it to rotary although it 'appears' to be set on rotary already.
market works... so far i have not found anything missing.
i have not been able to connect to usb. first connect got me a failed driver install and i don't see any usb mounting option in settings. -edit- just tried again and now it works? probably a windows thing.
dalingrin said:
Fixes that need testing
-USB storage mounting
We need folks to test mounting your sd card from within CM7 onto your computers.
-Market Access
This build contains a partial fix for Android market filters. I don't expect all apps to be available yet but I'm not sure what is and not available in the current build.
-Default lockscreen
I have submitted a patch upstream to change the default lockscreen from rotary to the traditional slider. This is because the rotary lockscreen does not scale for the nook. This patch required changing some mechanics in CM and needs testing. In particular, it needs to be verified that the initial lockscreen is the traditional slider but can still be changed in Cyanogenmod Settings.
Click to expand...
Click to collapse
zpure awesomeness! I can't wait for the bugs to get ironed out
here is a problem I have noticed. When I try to buy and app I get a force close and I cannot purchase an app.
UPDATE: I installed the newest market 2.3.2 and it does the same thing. I did the wipe cache, force stop on market and framework services, rebooted and still cannot purchase apps. Gotta be something in the build that is causing it to stop. I can download free apps just fine and the apps I already purchased.
jkurl said:
here is a problem I have noticed. When I try to buy and app I get a force close and I cannot purchase an app.
Click to expand...
Click to collapse
just checked this and i get force closes as well.
It's a beautiful thing. Thanks for the great work, guys!
I flashed the update from the original version that thecubed released and can report the following market bugs:
Astrid, Facebook, and Flixster do not show up in the market.
In the market, clicking on All Games / Top Free leads to a loading circle that never completes (no results ever get shown).
So there seem to be 2 different RC1s (both called the same thing) plus a single nightly. Which one should we be testing?
No maps, Facebook, or pulse in market running release from this thread
FletchF said:
So there seem to be 2 different RC1s (both called the same thing) plus a single nightly. Which one should we be testing?
Click to expand...
Click to collapse
OK, I gather it went like this:
old RC1->first nightly->this newer RC1
so, test the RC1 from this thread until newer nightlys start to appear.
These are the only apps I use I can't see in the market:
imdb
minimalistic text
google maps and street view
simi clock
wolframalpha
speedtest.net
I tried adb pushing all of them but wolfram from my htc desire. Imdb, minimalistic text and simi clock work, speedtest and google maps force close.
I also pushed Cyanbread.apk to /system/app and selected it from theme manager, it also seems to work great.
In the market, clicking on All Games / Top Free leads to a loading circle that never completes (no results ever get shown).
Click to expand...
Click to collapse
That only happens sometimes for me. Most of the times it works without problems.
(edit) Oh, and mounting the sd card also works ok.

[Multiboot] [Update 1/7/11] Create, manage and boot your ROM options via CWM!

Introduction
This thread describes an experimental mod that allows you to boot into other boot images stored in your sdcard.
The N1 does not have enough internal memory to store more than one android image, thus we have to use the sdcard for this.
NOTE:
This mod is experimental, and for advanced users only
Requirements (READ THEM CAREFULLY):
- A rooted and unlocked phone
- A FAST enough sdcard. This mod will work with any sdcard but I'd suggest at least a Class 4 card for performance reasons
- Your sdcard should have enough free space. Each 'boot option' that you create reserves 400MB of space in your sdcard
- In order to create a new boot option, you need a flashable zip over CWM of the ROM you wish to boot to. The flashable zip of the ROM is the same that is used for usual ROM installation. Also the zip should be using the latest update-binary format as is scripted in updater-script (e.g. the mount command takes 4 args, etc.)
Advanced Information regarding the process
- The mod requires a boot.img that is flashed by the zip. This is used for extracting the ramdisk, commenting out the mount mtd commands and using this ramdisk for chrooting into the ROM environment
- If no boot.img is existing, the ramdisk is picked up from /sdcard/ramdisk/
- The kernel used for booting all boot options is the one installed in the phone's boot mtd. This means that you need the respective kernel modules (e.g. WiFi) for this kernel, not the one that is bundled in the ROM that is multibooted. For example, if your main ROM is CM, pick the kernel modules from this one and push them to the multibooted ROM's /system/lib/modules/
Multiboot mod Installation
Download: N1_CWM-4.0.0.5-nobodyAtall-r2.img
Install via fastboot
Code:
Copy N1_CWM-4.0.0.5-nobodyAtall-r1.img to a location where fastboot can find it.
Boot your phone into fastboot mode (power on while holding the trackball)
Connect your phone via usb
fastboot devices (to make sure that fastboot "sees" your phone)
fastboot flash N1_CWM-4.0.0.5-nobodyAtall-r1.img
Install via adb
Code:
adb push N1_CWM-4.0.0.5-nobodyAtall-r1.img /sdcard/
adb shell 'flash_image recovery /sdcard/N1_CWM-4.0.0.5-nobodyAtall-r1.img'
adb reboot recovery
Multiboot ROM Installation
- Boot into the recovery and navigate to the new 'multiboot' menu. There you'll see the following options:
Boot into selected option!
Select default boot option
Unset default boot option
Create boot option from zip
Delete existing boot option
Flash zip to boot option
- Select multiboot->Create boot option from zip and then pick the flashable ROM zip. Be patient, this step reserves the space and flashes the selected zip to the system.img in the sdcard
- If you need to flash additional zips for this ROM, Select multiboot->Flash zip to boot option, pick your newly created boot option and then pick the zip you need to flash.
- Select multiboot->Select default boot option and pick your newly created boot option
- Select multiboot-> Boot into selected option! (first boot will take some time depending on your sdcard speed).
To verify you have booted to your newly created boot option, check 'adb shell mount', it should say that /system /data and /cache is mounted from /loop* devices and not from mtd*
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ROMS verified to multiboot
Well, any ROM should be able to multiboot provided the requirements stated above are covered. The following ones have been verified to work:
[ROM] CyanogenMod-7.1 for Nexus One
[ROM] NEXUS N1 Passion MIUI.us Presents MIUI Pure English [AOSP]
CM 7 ExtremeMod ROM by Ken Mood
Uninstall
- Normal reboots will boot from the phone's mtd partitions.
- This mod makes no changes to your phone's mtd partitions. Flashing a new recovery will uninstall the old one obviously.
- To remove installed boot options, navigate to multiboot->Delete existing boot option and pick you choice. Alternatively remove the boot option you want from /sdcard/clockworkmod/multiboot/
Disclaimer:
I can't be held responsible if this mod bricks your device / trashes your sdcard or makes it explode in your hands! Use it at your own risk!
​
Changelog:
(1/7/11) N1_CWM-4.0.0.5-nobodyAtall-r2.img
Fixed bug that flashed the multiboot ROM kernel in the phones kernel partition
Improved error reporting
(30/6/11) N1_CWM-4.0.0.5-nobodyAtall-r1.img
First version of CWM recovery providing the multiboot options
woww thanks
Well, this could be freaking awesome. I'll check it out at work
Nice one. Can we use CM nightlies that came after the RC?
method77 said:
Nice one. Can we use CM nightlies that came after the RC?
Click to expand...
Click to collapse
You can use it with any CM7 ROM
I am interested in this, i'm surprised that it hasn't created more of a stir.
I have installed the recovery, but don't want to do anything else without Nandroiding first. Only Nandroid seems to get stuck on "Backing up system..."
Any i doing something wrong?
Hello shorza,
To be honest, I've only been testing the multiboot part.
However, I think that backup works fine here:
Also the backup folder is created correctly:
~ # ls -la /sdcard/clockworkmod/backup/2011-07-01.06.49.58
drwxrwxrwx 2 root root 4096 Jul 1 06:52 .
drwxrwxrwx 5 root root 4096 Jul 1 06:49 ..
-rwxrwxrwx 1 root root 93489792 Jul 1 06:52 .android_secure.img
-rwxrwxrwx 1 root root 3670016 Jul 1 06:50 boot.img
-rwxrwxrwx 1 root root 37359168 Jul 1 06:52 cache.img
-rwxrwxrwx 1 root root 184136832 Jul 1 06:51 data.img
-rwxrwxrwx 1 root root 222 Jul 1 06:53 nandroid.md5
-rwxrwxrwx 1 root root 4194304 Jul 1 06:50 recovery.img
-rwxrwxrwx 1 root root 146908608 Jul 1 06:50 system.img
On another note, I'll be doing an update today to fix some bugs related to multiboot.
CWM 4.x has problems backing sd-ext, so that might be the reason why you don't see it (your pic shows you don't have an sd-ext partition to backup) and shorza does. It is also the reason why I haven't tried this yet - if it was based on AmonRa's I'd have jumped immediately, but since it is based on CWM I wanted first to see some feedback here...
Thanks for the help. Backup eventually worked, it just took a long time.
The problem is after zipping a new rom in multiboot, selecting it, then trying to boot into it, it took too long and I lost patience. It looked like it froze.
I'll try again tomorrow.
Maybe my sdcard is too slow.
shorza said:
Maybe my sdcard is too slow.
Click to expand...
Click to collapse
You need to be patient. It takes a long time to boot (especially for the first boot) and if the recovery seems frozen, this is a good sign - it means it's booting.
Posted -r2.
This fixes a bug that would flash the multiboot ROM's kernel to the phone's kernel partition. Also improves logging in case of errors.
Testing this out right now ... just got latest cyanogenmod nightly and latest miui (as of today) going on it and just switched back and forth. sucks about having to go into recovery to switch, needs to have a boot option when starting the phone haha.
So wifi doesn't work in the latest version of miui.us when using it as a multiboot option. such says in logcat "Failed to load Wi-Fi driver." it works when the rom is installed as normally so it must be the kernel from this application. but wifi on cyanogenmod works so that is good.
Will this work like a nandroid backup where it saves everythn from my last boot? Or will it save everythn on that same img. when i switch roms
looking at the directory structure, per multiboot rom it saves the boot.img, cache.img, data.img, and system.img .... I don't know how it uses them, but linux is magical in mounting images as a partition, doesn't have to be physical
This is because the ROM is run using the device's kernel and not the one that comes with the ROM as stated in the first post.
To make wifi work, simply copy your wifi kernel module from /system/lib/modules to this same did within the multibooted ROM.
Ellises said:
So wifi doesn't work in the latest version of miui.us when using it as a multiboot option. such says in logcat "Failed to load Wi-Fi driver." it works when the rom is installed as normally so it must be the kernel from this application. but wifi on cyanogenmod works so that is good.
Click to expand...
Click to collapse
Sent from my Nexus One using XDA App
This actually works pretty well, however, the phone get quite hot.
[Q]Bug fixed??
I succeed multibooting
I got miui(main)&CM7(sub)
but subrom,cm7 can't use wifi
so I changed kernel but failed
and display
[mount expects 4 3args]
[error /sdcard/xxx... ]
[ status7 ]<<maybe
If you know what's the problem, plz teach me the way
thx and pardon my English

[RECOVERY][ICS] BMM - Boot Menu Manager - v0.2.7 [ARCHIVE]

What is Boot Menu Manager?
Boot Menu Manager is like a second-stage loader. It run after Motorola bootloader and hijack android initial boot process. It allows you to to run custom command before booting android, run customized CWM-based recovery & booting from a second system partition. (Most people call this dual-booting.)
So, in summary, Boot Menu Manager is an almost complete package for toying with your phone.
It was specially design to work with our locked bootloader system & to prevent software brick.
(Trust me, you'll be using less fastboot after this)
Features
Fail safe hijack operation :
Loaded on each boot.
Configurable timeout, auto-boot to default setting.
Force showing Boot Menu Manager when boot using BP HW Diag & Boot AP
Click to expand...
Click to collapse
CWM-based Recovery :
Based on latest open source CWM-5.5.0.4
Touch-able interface.(Experimental features)
Highly customized & added function like backup individual partition.
Safety features. - install hijack, install root, backup & protect root.
Safe partition format operation (Won't do real format of our locked/signed partition, just rm -r *)
System integrity check on exit of recovery : ensure system is bootable in next boot
Auto-removed file protection flag : ensure 100% successful nandroid restore
Working ADB & Mass-storage : ADB service is available as soon as Recovery is started.
Dual operation : Select between 1st & 2nd system.
Click to expand...
Click to collapse
2nd-System :
Run a second system on abandon webtop partition
Great for testing ROM.
Recommended for ROM development.
Click to expand...
Click to collapse
Custom init (via 2nd-init):
Boot android with customized init environment
-Enable custom service
-Disable stock background service (service like qe)
Bypass bp-tools (In some kernel - ChinaRetail)
Click to expand...
Click to collapse
Insecure adbd:
Always run adb as root, so there's no need to run su command each time
Custom adb reboot mapping
Code:
adb reboot recovery -> Reboot to custom recovery
adb reboot second -> Reboot to 2nd-system
adb reboot stockrecovery -> Reboot to stock recovery
adb remount with noatime,nodirtime flag
subsequent call to this command will remout /system as ro.
This feature is disabled by default. Use Boot Menu Manager app to enable/disable it
Click to expand...
Click to collapse
Integration with android OS (via Boot Menu Manager app) :
Configure boot & recovery option.
Clean uninstall option
Other recovery package lack this option & leave a leftover files on your system.
(this leftover files cause OTA update to fail)
Reboot widget
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Remarks and thanks
koush & CyanogenMod - CWM
TeamWin - touch related item for recovery
STS-Dev-Team (Hashcode&dhacker29) - Motorola Spyder related configuration
koush & cvpcs - hijack binary codes, bootstrap
Skrilax_CZ - 2nd-init
Special thanks
lukas77,dtrail1,leisures,sevenup30,FrAsErTaG & core720 for their ideas, support, bug report & testing for alpha release.
@Translation
androidol - Traditional & Simplified Chinese
maarawoe - Czech
spryte - German
pedrotorresfilho - Portuguese
HSD-Pilot -for helping with Q&A, guide
Redistribute
You're welcome to include/distibute Boot Menu Manager app on your ROM.
(Just make sure you don't re-sign it's security certificate)
How to install
Boot Menu Manager app is an application to provide an easy install way for Motorola Razr.
It also includes a simple updater, reboot widget & configuration tools.
Please respect my work & don't re-upload/re-publish on file sharing service. I've paid google to host this file for me.
Enjoy & give suggestion for improvement.
- Change logs
- Q/A
WARNING : This release is only for ICS with 3.0.8 kernel. Although it has been tested many times, there is still a possibility for a bug to exist.Proceed at your own risk. Don't try this if you're not comfortable fixing your phone/fastboot/troubleshooting
Click to expand...
Click to collapse
Update : New thread for jellybean base build
extra info
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Source code
BootMenu & Recovery source code is availabe at my github (razr-ics branch)
Official project page - WIP
http://www.projectlense.com/bootmenu/
Change logs (technical stuff~)
BootMenu Manager app​0.2.0
- Initial public release
0.2.1
- Minor UI fix, add reboot widget
0.2.3
- fix hijack uninstall
- reallocate second system & recovery trigger file from /data to /preinstall
- add suppport for insecure adbd & 2nd-init
- add reboot option confirmation.
- add an option to clean/remove leftover files from RazrBootstrap (/preinstall/recovery/*)
- add /preinstall/recovery/update-binary symlink to BootMenu (for older version hijack(cvcps) / RazrBootstrap compatibility)
- add 1st & 2nd system manager
- add little integration with recovery (an attempt to mimic ROM manager)
- add live backup menu
0.2.4
- Minor change, fix blank screen on startup.
0.2.5
- Change startup behavior (Async task for backgroud task)
- Add check for Bootstrap installer
- Add Chinese translation (Thanks androidol)
0.2.6
- Fix download error & sha1sum miss matched for non MotoBlur based ROM (CM9/CM10/AOKP)
0.2.7
- Enable ROM manager function, add ROM Converter, Fix UI & Bugs (Download error)
Click to expand...
Click to collapse
BootMenu packages & component​0.1
- alpha release
0.2.0
- Initial public release
0.2.1
/preinstall/bootmenu/binary/bootmenu
- Fix framebuffer. Revert back to /dev/graphics/fb0
- Add another fail-safe feature. Ignore bootmenu configuration file when booted with "BP HW Diag & Boot AP".
- Fix script boot_stock.sh (fix removal of /xbin = disable qe service)
/preinstall/bootmenu/binary/recovery
- Fix UI draw = results in faster restore & backup
- Add fast backup option (Only do backup /data, /cache & /system) = faster backup
- Add backup /pds as option (MAC address & stuff from factory)
- Fix backup of app inside .secure_android
- Disable format of /data & /cache (recovery will only do rm -r /path/*) = safer
- Checks /system/bin/logwrapper for correct version on exit (Prompt user if it's being replaced)
- Display battery level (approximation)
0.2.2
- Rebuild using SPDU 10 ICS source code
0.2.3
/preinstall/bootmenu/binary/bootmenu
- add suppport for insecure adbd & 2nd-init
- Red LED ON when booting by 2nd-init
- reallocate second system & recovery trigger file from /data to /preinstall
/preinstall/bootmenu/binary/recovery
- strip unused CWM function (We don't deal with flasing radio/boot.img, formatting filesystem on this recovery)
- change batt level from % to voltage
/preinstall/bootmenu/binary/adbd
- tweak/mods for bootmenu reboot action
/preinstall/bootmenu/rootfs/init
- tweak for custom init use.(appear as xXx-init in kernel log)
/preinstall/bootmenu/rootfs/2nd-init
- tweak for custom init use.(appear as 2nd-init in kernel log)
0.2.4
- Minor change, fix boot_second.sh script (Improve 2nd-init compatibility)
(bootmenu & recovery part remains at 0.2.3 until next updates/build)
0.2.5
/preinstall/bootmenu/binary/bootmenu
- Change to touch button system
/preinstall/bootmenu/binary/recovery
- Enable webtop format in recovery
- Add more reboot option
- Fix for Atrix2
0.2.6
/preinstall/bootmenu/binary/recovery
- rebuild & update to latest busybox 1.20.2
0.2.7
/preinstall/bootmenu/binary/bootmenu
- Add support to 2nd-system recovery boot (For ROM manager function)
/preinstall/bootmenu/binary/recovery
- Fix dalvik-cache erase, Add radio firmware flashing.
Click to expand...
Click to collapse
Q&A, tutorial, how-to
Q: What is this for??
This is a stuff that helps you messing with your phone. It's powerful but lacks documentation.
(Currently I don't have time to do a full documentation).
Click to expand...
Click to collapse
Q: Is BootMenu same with what Cyanogen* BootMenu is??
Maybe it's different from what Cyanogen* BootMenu is. My BootMenu just take the idea & the name, not the codes.
This is a very lightweight version of BootMenu. I rewrite it from scratch (code is based on ICS recovery).
It's not any doing any fancy stuff. It just wait for user input/timeout & do jobs based on predefined script.
That's all.
Click to expand...
Click to collapse
Q: I have a RazrBootstrap installed. Do I need to uninstall it??
Not really. This installer will work. It will replace RazrBootstrap hijack with BootMenu hijack.
It will not remove RazrBootstrap files located at /preinstall/recovery. But it's a good idea to keep it (Useful when you restored a nandroid with a RazrBootstrap inside)
If you have low space on preinstall. you need to remove this folder manually.
Click to expand...
Click to collapse
Q: I want to reinstall RazrBootstrap/taking OTA. How do I remove BootMenu???
Open BootMenu Manager. Select uninstall hijack, uninstall package (optional)
Click to expand...
Click to collapse
Q: I want to use a Safestrap based ROM
1.Download Rom Converter from Google Play
2.Convert the ROM with it
3.Install it from BootMenu recovery
Click to expand...
Click to collapse
Q: My batt is messed up.
Tips for getting a good batt stat. (Not messed up/inaccurate reading)
Always do ROM flashing with USB power connected & batt level at 100% (Recommended)
When batt level is not 100%
Reset both batt stat of stock & second
Reboot to stock, let it register current batt stat
Reboot to second, let it register current batt stat
Click to expand...
Click to collapse
Q: I want to install a ROM (Nandroid backup) in second system.
1.Go to custom recovery, Backup&Restore, Advanced Backup, Backup Webtop.
2.Toggle second system recovery, Backup&Restore, Advanced Restore, Restore System.
3.Reboot.
Suggestion : If you have access to webtop fastboot files, you may skip the backup.
Click to expand...
Click to collapse
Q: Webtop backup took long time to finish.
Original webtop content from Gingerbread 2.3.6 have too many small files & folder, that's why it's slow.
Since webtop partition is abandon in ICS, you only need to backup this partition once only.
Empty this partition if you're not using second system.
Code:
adb shell mkdir /tmp/webtop
adb shell mount -t ext3 /dev/block/webtop /tmp/webtop
adb shell rm -r /tmp/webtop/*
Update : ver 2.0.1 & newer has an option to do a "fast backup" (backup only data,cache&system)
Update : ver 2.0.5 & newer can do webtop format from recovery
Click to expand...
Click to collapse
Q: Will Webtop 3.0 works if I empty/delete all files in /dev/block/webtop?
Webtop 3.0 is just ICS in tablet mode. It's no longer based on ubuntu. It will work
Click to expand...
Click to collapse
Q: I have a "low storage space" on 2nd system?
Webtop partition size is only 1.3GB.
To make thing simple, the included boot_second.sh script bind mount /system & /data inside this webtop partition.
You have at least 4 option, if you want to have bigger /data
1.Reassign /data to /sdcard (IO speed depend on sdcard speed rating)
2.Reassign /data to /dev/block/userdata (this will replace all your data for stock system)
3.Reassign /data to /dev/block/cache (bind /cache to somewhere else e.g : /webtop/cache)
4.Use a lightweight ROM (/system size = small)
You need to modify these files to suit your needs.
/preinstall/bootmenu/script/boot_stock.sh
/preinstall/bootmenu/config/stock.recovery.fstab
/preinstall/bootmenu/script/boot_second.sh
/preinstall/bootmenu/config/second.recovery.fstab
Sorry, for now you all have to configure this files manually.
Click to expand...
Click to collapse
Q: What is 2nd-init??
Its a method/hack to have a customized init environment. (Thanks to Skrilax_CZ)
cvcps made a good explanation of this on his blog... go read it if you are interested.
2nd-init. What it is and how it works.
Click to expand...
Click to collapse
Q: How to use BootMenu 2nd-init??
1.Enable 2nd-init option in BootMenu Manager
2.Copy init files (*.rc) from ramdisk (rootfs) to /system/etc/rootfs/
3.Tweak / edit those file to suit your need(s)
4.Reboot.
*BootMenu will copy & overlay files in /system/etc/rootfs/ to ramdisk on startup. Then it loads 2nd-init.
*Red LED will lit to indicate a 2nd-init booting.
** IMPORTANT : Mount point for 2nd-system is need to be change. Else, 2nd-init will boot the 1st system.
** IMPORTANT : Don't overlay or replace /sbin/init with other version. (CM9,AOKP etc)
Click to expand...
Click to collapse
Q: What need to be change for 2nd-system+2nd-init??
Basic init.mapphone_*.rc modification for 2nd-system:
Code:
on fs
mount ext3 [email protected] /preinstall noatime nodiratime barrier=0
mount ext3 [email protected] /webtop noatime nodiratime barrier=0
mkdir /webtop/system 0775 system system
mkdir /webtop/data 0775 system system
exec /preinstall/bootmenu/binary/busybox mount -obind /webtop/system /system
exec /preinstall/bootmenu/binary/busybox mount -obind /webtop/data /data
mount ext3 [email protected] /pds noatime nodiratime barrier=0
mount ext3 [email protected] /cache noatime nodiratime barrier=0
** Above sample is for mounting ext3. Change it to reflex your setup. (I have all of them as ext4)
** All partition is mount directly (Skip disk checking).
** If partition is corrupted/not clean, boot to 1st-system & let it repair/check those partition.
Click to expand...
Click to collapse
Q: How to clone 1st-system to 2nd-system (simple)
Make sure the total size of system & data is less than 1.3GB
Switch to 1st-system recovery
Code:
[B]Backup & restore -> Selective backup[/B]
*backup system
*backup data
Switch to 2nd-system recovery
Code:
[B]Backup & restore -> Selective restore[/B]
*restore system
*restore data
Optional, hijack in 2nd system is just a waste of resource.
Code:
[B]System Keeper -> Remove logwrapper hijack[/B]
**Make sure the total size of system & data is less than 1.3GB
Click to expand...
Click to collapse
Q: How to clone 1st-system to 2nd-system (advance)
Switch to 1st-system recovery mode. Connect to phone using adb
Code:
mount /data
mount /system
mount /webtop
rm -r /webtop/*
mkdir -p /webtop/data
mkdir- p /webtop/system
cp -a /data/* /webtop/data/
cp -a /system/* /webtop/system/
Optional, hijack in 2nd system is just a waste of resource.
Code:
rm /webtop/system/bin/hijack
rm /webtop/system/bin/logwrapper
mv /webtop/system/bin/logwrapper.bin /webtop/system/bin/logwrapper
**Make sure the total size of system & data is less than 1.3GB
Click to expand...
Click to collapse
Nice work whirleyes!
+1
Sounds very promising. Looking forward to using it. Good work!
Really glad you manage to release it !
I ll now try the apk!
The Best Recovery, amazing ;D
sevenup30 said:
Really glad you manage to release it !
I ll now try the apk!
Click to expand...
Click to collapse
haha.. only after a lot of sleepless nights and caffeinated days.
Thanks you, your app is great !
Small idea : add widget to reboot, hot reboot, recovery, etc ...
I
whirleyes said:
haha.. only after a lot of sleepless nights and caffeinated days.
Click to expand...
Click to collapse
Yeah you answered alot even with different timezone
Now the feedback
I cant find bootmenu on playstore(maybe only in french)
The app is great, the bootmenu is fine, and the install process goes well,( but it dont detect my Current version, because of alpha maybe
Anyway Great work
Google Play link
Nice work dude.
THANKS & RESPECT :thumbup:
Gesendet von meinem XT910 mit Tapatalk 2
Boot menu
What happens if you have bootstrap installed?
Thanks
jlank said:
What happens if you have bootstrap installed?
Thanks
Click to expand...
Click to collapse
I tried with bootstrap on boot(j.g.daddy ics rom port) and it broke XD i was able to restore my backup using the recovery but it can't boot android, dunno if is only a mine problem, so wait for the dev to aswer before trying it
i have installed this, anyone know any other custom rom that we can install and try it, i am running ICS leak now
nischalnischal said:
i have installed this, anyone know any other custom rom that we can install and try it, i am running ICS leak now
Click to expand...
Click to collapse
I'm in the same Situation
I wanna test this nice Guy, but nothing to flash :banghead:
Gesendet von meinem XT910 mit Tapatalk 2
@whirleyes
How do I remove my current cwm (razricsbootstrsp v.2) in order to test this.
Thanks and congratulations for the great work!
Cheers
Sent from my XT910 using xda premium
I had CWM on Boot installed before and yeah, it's gone
Didn't uninstall anything. Just get the app out of store, downloaded the necessary files out of the App and now all is fine. Did my backup allready and now need an nice custom :what:
Gesendet von meinem XT910 mit Tapatalk 2
HSD-Pilot said:
I had CWM on Boot installed before and yeah, it's gone
Didn't uninstall anything. Just get the app out of store, downloaded the necessary files out of the App and now all is fine. Did my backup allready and now need an nice custom :what:
Gesendet von meinem XT910 mit Tapatalk 2
Click to expand...
Click to collapse
Thanks for the repport man!
Will do da same.
Cheers
Sent from my XT910 using xda premium
good job

[ROM] CleanCore N5 | MMB29S | 100% Lean Stock | 01/19/2016

Welcome to my new project - CleanCore
CleanCore is a rom series focused on a clean and lean version of the latest stock android builds.
Features:
- Always sourced from stock factory images w/ stock kernel
- Trimmed out Gapps & useless bloat
Trimmings:
Videos
YouTube
Books
Chrome
CloudPrint2
Drive
EditorsDocs
EditorsSheets
EditorsSlides
FitnessPrebuilt
GoogleEars
GoogleEarth
GoogleHindiIME
GooglePinyinIME
KoreanIME
Maps
Music2
Newsstand
Photos
PlusOne
PrebuiltGmail
PrebuiltKeep
PrebuiltNewsWeather
Street
Click to expand...
Click to collapse
Donations:
Files (flashable):
Flash Order:
Flash Bootloader & Radio -> Flash CleanCore -> Flash Modified kernel (if needed) -> Flash SuperSU or SuperSU Beta
6.0.x:
MRA58K Radio+Bootloader.zip
CleanCore N5
MRA58K Modified Kernel by Chainfire
5.1.x:
- LMY48M: https://www.androidfilehost.com/?w=files&flid=37013
- LMY48I: https://www.androidfilehost.com/?fid=24052804347801140
- LMY48B: http://forum.xda-developers.com/showthread.php?p=60882024#post60882024
- LMY48B Radio & Bootloader: https://www.androidfilehost.com/?fid=23991606952608490
- LMY47I CleanCore: http://forum.xda-developers.com/showpost.php?p=59698354&postcount=8061
- LMY47D Radio & Bootloader: https://www.androidfilehost.com/?fid=95916177934540588 zip by asim0
- LMY47D CleanCore: http://forum.xda-developers.com/showpost.php?p=59638725&postcount=8042
- LMY47D Stock: http://forum.xda-developers.com/showpost.php?p=59391346&postcount=7987
5.0.x:
- LRX22C: http://forum.xda-developers.com/showpost.php?p=57613996&postcount=7893
- LRX22C Radio: https://www.androidfilehost.com/?fid=95864024717066668
- LRX21O: http://forum.xda-developers.com/showpost.php?p=56948124&postcount=7803
- LRX21O Radio: https://www.androidfilehost.com/?fid=95784891001609833
- SuperSU: http://download.chainfire.eu/supersu
- Lollipop Sounds: https://www.androidfilehost.com/?fid=95784891001615212
Archive:
L Developer Previews:
- Stock ROM (LPX13D): http://forum.xda-developers.com/showpost.php?p=56112246&postcount=5498
- Art and VM tweaks: https://www.androidfilehost.com/?fid=95747613655048592 (Credit: @sykopompus)
- Radio Only (LPX13D): https://www.androidfilehost.com/?fid=95747613655047015
- Modified Kernel (allows root): by Chainfire or by sykopompos
- PIE Security Check Patch: http://forum.xda-developers.com/showpost.php?p=56123703&postcount=13
- LPX13D IMG Files: https://www.androidfilehost.com/?w=files&flid=20081
- Stock ROM (LPV81C): http://www.androidfilehost.com/?fid=23610159112651697
- Stock ROM (LPV79): http://www.androidfilehost.com/?fid=23501681358553483 (credits to Tasssadar for his install script)
- Radio: http://www.androidfilehost.com/?fid=23501681358553376
Other Files:
- N6 /system/app/ & /system/priv-app/ dump: https://www.androidfilehost.com/?fid=95747613655048224
- Busybox: https://play.google.com/store/apps/details?id=com.bitcubate.root.busybox.complete&
- Bootanimation (flashable): http://www63.zippyshare.com/v/84100724/file.html
- Modified Kernel: http://www.androidfilehost.com/?fid=23501681358553514
- TWRP: http://techerrata.com/browse/twrp2/hammerhead
Google IMG files (manual installation):
LPX13D
- Full L Package: http://storage.googleapis.com/androiddevelopers/finalpreview/hammerhead-lpx13d-preview-f7596f51.tgz
LPV81C
- Full L Package: https://developers.google.com/fit/preview#flash_your_nexus_5_or_nexus_7
- Note: The new Android L build didn't come with a new radio (same as LPV79)
LPV79:
- Full L Package: http://www.androidfilehost.com/?fid=23501681358553290
- Stock "L" Radio: http://www.androidfilehost.com/?fid=23501681358553294
- Stock "L" Boot (kernel): http://www.androidfilehost.com/?fid=23501681358553305
- Stock "L" Bootloader: http://www.androidfilehost.com/?fid=23501681358553296
- Stock "L" Recovery: http://www.androidfilehost.com/?fid=23501681358553307
- Stock "L" Userdata: http://www.androidfilehost.com/?fid=23501681358553346
- System partition dump: http://www.androidfilehost.com/?fid=23501681358553357
Report Bugs:
G+ Community: https://plus.google.com/communities/101985907812750684586
Report Issues: https://code.google.com/p/android-developer-preview/
Instructions:
A clean install is highly recommended when coming from v4.x to "L"
DOES NOT wipe your SD card.
via flashable file:
- Boot into recovery (TWRP/CWM)
- Un-mount /system in TWRP/CWM
- Wipe: system, data, dalvik and cache
- Flash ROM (be patient - takes a while)
- Flash SuperSU (optional)
- Flash radio (optional)
- Reboot (first boot takes a while)
Click to expand...
Click to collapse
MultiROM users can follow this method.
via fastboot (manual installation):
SYSTEM PREP (skip if you already have fastboot/adb setup):
Let's setup ADB and fastboot
Windows:
- Automated: http://forum.xda-developers.com/showthread.php?t=2588979 (follow the steps in the software)
- Manual Method:
Download this file and extract the folder called "adb" to your C: drive. Your path should look like this:
Code:
C:\adb\
You will need to open a command prompt window using this method:
Code:
- Go to the C:\adb\ folder
- hold down SHIFT key and RIGHT-CLICK
- select "Open command window here".
In order to use ADB & Fastboot from anywhere - use the following steps to setup windows environment variables:
Navigate to & click on Start > Right-Click on Computer > click on Advance System Settings >
Click on Environment Variables (under the advanced tab) > Click on New (User Variables) >
Variables Name: ADB (Or anything you want) Variables Value: ;C:\adb (this is the Path of my adb.exe file)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mac & Linux:
Install ADB & fastboot using: this file
1. Extract the downloaded zip to your desktop
2. Open Terminal and type in:
Code:
su
cd Desktop/Android/ (note: Android is the directory extracted from zip file)
3. Now type
Code:
./ADB-Install-Mac.sh
Note: By using the method above, your adb and fastboot files are stored at this location on your Mac: /usr/bin/
----
Now that you're setup, let's do the flashing:
Boot into TWRP to wipe cache, dalvik, data (not internal storage/SD) and system.
Reboot to bootloader and flash the following:
fastboot flash bootloader <insert bootloader img name>
fastboot reboot-bootloader
fastboot flash radio <insert radio img name>
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img // OR // fastboot flash boot <insert name of unecrypt boot.img>
fastboot flash cache cache.img
fastboot reboot
After you finish the above - reboot in to recovery (TWRP/CWM) and factory reset - then reboot
Click to expand...
Click to collapse
-------
FAQ
Check out this comprehensive HELP INDEX which will help answer your questions.
Got "No SDCard" error?
This is because 4.4.x seems to point to: storage/emulated/0 & L points to: data/media/0
Solution:
- Mount system in TWRP/CWM
- Wipe system, dalvik, data, cache
- Unmount system
- Install ROM
- Factory reset
- Reboot
- Go back to recovery & flash SuperSU (link above).
- Reboot
Still not resolved? try:
Open terminal and type
su
restorecon -FR /data/media/0
or type
su
restorecon -r /data/media/0/*
Still not resolved? back everything up and flash the userdata.img (erases your SD card)
Does Titanium Backup work?
Titanium backup and other similar apps do not work 100% on L... as expected.
How do I restore my user apps?
You can restore your apps using this method:
- While on a 4.4.x rom, go into TB > batch actions > recovery > 'create update.zip...' > select user apps
- Install L > flash the update.zip
- Done!
I get a "failed" error when flashing ROM
You did not unmount system or it got re-mounted automatically. Reboot your recovery > unmount system > flash ROM
SMS/MMS not working?
SMS & MMS is related to your APN and not the ROM. Check that.
Can I flash this over my 4.4.x rom?
Yes, but do a clean install
OMG x app is not working?
That's expected - a lot of apps need to be updated to be compatible with L
OMG xPosed is not working?
No, it's not compatible with ART which is the default runtime on L
Can I flash a custom kernel?
Yes, thanks to @eng.stk
Click to expand...
Click to collapse
Disclaimer & Copyrights:
I test everything before I share - thus I know they work as intended. However, please proceed at your own risk as I do not take any liability for your devices.
Please do not copy contents of this guide without explicit permission from me. I like to maintain a set standard and quality of the information I share.
Please refrain from posting mirrors as I like to track downloads - I primarily use AndroidFileHost and they mirror files on multiple servers automatically.
Let's do this!
Flashable zip please
Sent from my Nexus 5 using Tapatalk
Go go go Vommer!!!
Flashble??
First..thanks mate
will there be a flashable zip?
thanks anyway! very fast this time
if u can manage to do flashable, i ll agree to be your first victim
sam razzy said:
Flashble??
Click to expand...
Click to collapse
Not yet, no.
Dr.Pagan said:
First..thanks mate
Click to expand...
Click to collapse
nope
Can we expect a .zip file soon? Something we can flash in TWRP?
not flashable yet - working on that as we speak!
I am uploading/posting all original files as I go so people have some mirrors too
vomer said:
not flashable yet - working on that as we speak!
I am uploading/posting all original files as I go so people have some mirrors too
Click to expand...
Click to collapse
Awesome news
When you get a zip flashable, thank you so much. My stupid work computer is preventing me from using ADB
Vomer thanks for ALL your works and time!
Sent from my Code_Blue Nexus 5
Woot!
Thanks!
I'm flashing at work right now. I'll flash whenever it comes online.
Give vomer more than 10 minutes jeez... Flashables are incoming
Thanks guys!
Backups done! Now I am off to flash and figure this out! I do not want to rush post some crap and have issues
Will keep checking back here so don't loose faith
damn your post is going to ruin my F5 keyboard. LOVE HATE LOVEEEE
I'm guessing no root because of chainfire's tweet...
biggiephat said:
I'm guessing no root because of chainfire's tweet...
Click to expand...
Click to collapse
not "yet"
But installing L version i can flash a kernel? Root is possible?

Categories

Resources