Jump to content


Photo

Cruz Reader: Rom rooted with market, busybox and app2sd script


  • Please log in to reply
961 replies to this topic

#1 jgm

jgm

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 243 posts

Posted 08 January 2011 - 02:26 AM

WARNING: Use at your own risk!

Update: version 4.0 up, more responsive
Update: version 3.1 800mhz up
Update: version 3.1, finally... market updates
Update: finished version 3.0, check the changes section
Update: added cpu unlocked version
Updated: see the changes section and download new zip

Note for people who used previous release: Since so much problems happened with previous release be sure to format the sd card using androids format tool (Settings -> Sd card and devices storage) before running app2sd.sh

Hi again all!

Here i'm posting a rom based on the newer firmware of vm that has wireless, sound and performance fixes. This modification includes a market and busy box setup took from the files provided by cycologists here so credits go to him. Also the su executable was taken from original macho cruz rom since it really brings a fully rooted environment by enabling the use of root account with id 0 and group 0 (also credits to androapp).

I moved all third party software provided by vm to the data/app directory for easy uninstallation in case you dont use it. Also I included an improved terminal emulator that supports inputting numbers, the name of the apk is jackpal.androidterm.apk and the application icon says Terminal emulator. Actually after testing the rom this application seems to not install correctly but what you can do is backup the apk, and reinstall it that should fix it.

Many people here already know how to flash a rom but for reference here we go.


Installation Instructions:


1. Download the provided file on this post.

2. Place it on the external sd card of the reader (it should keep the original name: PD_INX7E_ENG_6410POP.zip)

3. With the reader powered off press and leave the VOLUME UP + POWER BUTTON until an android bot appears and installation process starts (recommended to have the power cable connected to the unit in case of battery failure)

4. When the installation finishes the device will reboot and you will see the cruz reader logo, then the device will reboot again after executing an initialization script for the first time.

5. (Just on older versions of firmware 1.0v - 2.0v) When the system starts for first time a setup wizard will appear. Pressing the droid will not work as it states, to bypass this situation press the 4 corners of the display clockwise until the wizard close.

Applications to SD Instructions

1. Run the additional terminal emulator provided (if crashes or force close backitup with astro, uninstall and install)

2. Write su an press enter, after that superuser app will ask if  you want the terminal to access root priviliges, so press allow or always allow.

3. Now write app2sd.sh and press enter, then follow the script instructions to enable the storage of applications into the sd.

4. After the script finishes write reboot and press enter to restart the system and finally activate the sd to store applications.


Note:
When the script ask you what is the size in megabytes of the first partition, this is not the partition of the applications it is the partition you will use to store personal files. So for example lets say we are going to use the internal sd card with a capacity of 4 Gb and I input 3072, this means I will have 3 Gb for personal files and 1 Gb to store applications.

Possible problems and solutions:

When trying to install the firmware appears an exclamation sign on top of the droid and nothing happens.
Unplug the battery format the sd card to fat32 place the rom file and try again.

Android warns you that the sd card is blank.
Connect the device thru usb and format the first partition of the sd you selected for storing the applications to fat32, using your favorite tool (for example gparted). Disconnect the usb cable and reboot the device.

Market shows the following message ("server error occurred" retry or cancel)  and doesn't lets me download or search from it.
This usually happens when you don't run the old version of market, search and install something before market updates. So if you are getting the mentioned message in most cases means your market is updated. The fix would be to uninstall new market update from application manager, run old market, search something, install it, close old market, wait a while and when market updates again there shouldn't be any problem.

Other possible solution posted by howie372 is starting google talk and then closing it and running market.

Wifi fails to connect after waking from standby mode
Try the fast reboot application posted below. It seems to be a fix that works as reported by other users on the forum.

Recommended free applications:

Skyfire - for watching videos provided on websites that use flash.

Terminal emulator - A VT-100 terminal emulator for the Android OS (needed for running the app2sd script, you can download it from market)

Swapper 2 - Enables the use of a swap file to increment ram capacity. (You can download it from market also)

Thumb Keyboard - Makes writing much more comfortable

IReader -  supports some extra file formats like CHM not provided by the cruz

Market Enabler - In case you dont see paid applications on market

AndFTP and AndExplorer (xD) - Really light weight applications as the name says.

K-9 Mail - A greate replacement for stock mail client.

AdFree - Disables ads from websites giving you a faster browsing experience. (You can download it from market)

Calcbuddy - A better calc application that works with new libdvm.so. (You can download it from market)


Fast Reboot - An application that does a system reinitialization without doing a hardware reboot (Useful to fix wireless issue of not connecting after the reader woke up from standby as some users has reported)


-------------------------

Changes

Version 4.0 - 2/2/2011

* This release was made possible by donaldson
* Updated terminal application to latest
* Updated: app2sd to format applications partition to ext4
* Removed: maps, street, gmail, voice (not needed to run market and system feels much smoother)
* Fixed constant sync issue by sacrificing calendar, gmail and forgot the other one :o
* Updated 2d and 3d drivers
* remapped volume up to menu and volume down to back
* Updated dalvik cache with jit
* Added K-9 mail as a good substitude to gmail mail client
* In a brief this should leave you with a more responsive device.


Version 3.1 - 1/17/2011 (some hours later xD)

* Now market updates normally to new version.

Version 3.0 - 1/17/2011

* Installer now makes a format of system partition and userdata partition for a much cleaner setup (full wipeout?)
* Updated app2sd.sh to automatically format primary partition
* Now app2sd.sh ask you if you want to use the current applications on the sd instead of reformatting
* Added utility option on app2sd.sh to format the primary partition of any sd card
* Fixed swapper.sh script (now doesn't reports sd card as damaged)
* Used the market apk files found on macho rom file (maybe now updates market, haven't tested)
* no need to press the four corners of display on setupwizard
* Updated ro.build.version.sdk from 5 to 7 to allow installation of more software like adobe reader from market.
* Test signed all apk files
* Zip-aligned all apk files for better performance
* Updated busybox from version 1.15 to 1.17
* maybe I forgot something else xD ...

Version 2.0 - 1/9/2011

* Added execution permissions on [, busybox and install-recovery.sh at android setup on the updater-script
* Fixed a bug on the app2sd.sh script that reported errors when the sd card first partition didn't start on cylinder 1
* Moved maps, calendar and some others apk to the /data/app directory for easy uninstallation
* Now the system should really be rooted for those that never touched the file permissions

Version 1.0 - 1/8/2011

* Initial cooking of the rom


Download Rom (v4.0):

Normal Version (cpu works at 533mhz):
http://www.mediafire...h88smhvuy2twedm (md5: 84ca72143b197c4759dc243276708a6f)


Download Rom (v3.1):

Normal Version (cpu works at 533mhz):
http://www.mediafire...bn8zeiapendkean (md5: 4ec3eb9bdfa7d298833cebd3e690ab95)

Unlocked Version (cpu works at 800mhz) - This version may not work on your device
http://www.mediafire...1k8yae3ui76s811 (md5: 5d420cf8f87b9cad1a22a83135c2dbe4)


Download Rom (v3.0):

Normal Version (cpu works at 533mhz):
http://www.mediafire...p605u11fr7o13ri (md5: c857fa80de7dfecff13ba8f7a9a3d34b)


Download Rom (v2.0):

Normal Version (cpu works at 533mhz):
http://www.megaupload.com/?d=WWGCS9LK (md5: 61d2106d8e2a1db6ed071c519e29de2c)

Unlocked Version (cpu works at 800mhz) - This version may not work on your device
http://www.megaupload.com/?d=9FTO0AJX (md5: c4ef712abf0995da2b73dd5d9478470c)

Edited by jgm, 06 April 2011 - 08:30 PM.

  • PrWolf likes this

#2 RRAMALINGAM

RRAMALINGAM

    Newbie

  • Jr. Member
  • Pip
  • 1 posts

Posted 08 January 2011 - 07:14 AM

Hi JGM,

I was quite excited to read your posting.  I jumped on it right away.  Went well up to the app2sd.sh when it responded "Permission Denied".  Super user permission seems to be granted.  Any suggestions will be appreciated.

RaliR

#3 phandroidtablets.com

phandroidtablets.com

    Newbie

  • Jr. Member
  • Pip
  • 8 posts
  • LocationBoston, Ma.

Posted 08 January 2011 - 12:19 PM

Ralir,

You followed 2. right?

2. Write su an press enter, after that superuser app will ask if  you want the terminal to access root priviliges, so press allow or always allow.

I accidently didn't the first time then went and started from scratch and it's working good.

Also JGM's list of Apps is great. I use a lot of those on my Gtablet.

So nice to see these new roms hitting. Good luck to all and have fun!

#4 bluesfan

bluesfan

    Member

  • Jr. Member
  • PipPip
  • 11 posts

Posted 08 January 2011 - 12:34 PM

Great work....question... Does this firmware have the setCPU enabled?

#5 phandroidtablets.com

phandroidtablets.com

    Newbie

  • Jr. Member
  • Pip
  • 8 posts
  • LocationBoston, Ma.

Posted 08 January 2011 - 12:36 PM

i tried it and it let setcpu in with allow.  ;)

#6 RALIR

RALIR

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 08 January 2011 - 12:39 PM

Ralir,

You followed 2. right?

2. Write su an press enter, after that superuser app will ask if  you want the terminal to access root priviliges, so press allow or always allow.

I accidently didn't the first time then went and started from scratch and it's working good.

Also JGM's list of Apps is great. I use a lot of those on my Gtablet.

So nice to see these new roms hitting. Good luck to all and have fun!


Hi,
Yes.  I did correctly first time around.  I tried again.  Same Result.
RaliR

#7 bluesfan

bluesfan

    Member

  • Jr. Member
  • PipPip
  • 11 posts

Posted 08 January 2011 - 12:42 PM

Great phandroidtablets.com....so it's been verified that it really does overclock it to 800mhz?  I thought I read a post that it unless you modify the bootloader.img correctly then it's not really overclocked.

Thanks

#8 jgm

jgm

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 243 posts

Posted 08 January 2011 - 01:29 PM

Actually I didnt included the modified u-boot.bin since for many people it wasn't working right like me (maybe because I have first version of reader and some hardware has changed, sometimes boot others not)

If the unlocking of cpu works right on your reader you can replace the u-boot.bin on this package by the one provided by pandabomb, as the title says the rom is already rooted  so setcpu works right.

I discovered an application to overclock the cpu without the need of different kernel or bootloader called Milestone Overclock but it doesnt supports the cruz cpu, on the project webpage says it supports omap3 cpus, what could be the difference with smdk6410? I would be interesting to see more cpus support :)


Ralir,

You followed 2. right?

2. Write su an press enter, after that superuser app will ask if  you want the terminal to access root priviliges, so press allow or always allow.

I accidently didn't the first time then went and started from scratch and it's working good.

Also JGM's list of Apps is great. I use a lot of those on my Gtablet.

So nice to see these new roms hitting. Good luck to all and have fun!


Hi,
Yes.  I did correctly first time around.  I tried again.  Same Result.
RaliR


That's strange, did you used the improved terminal emulator provided on the rom? Not the terminal emulator that can be accessed from Dev Tools.

#9 jgm

jgm

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 243 posts

Posted 08 January 2011 - 01:40 PM

Actually after executing su if you write id and press enter you should see uid=0(root) gid=0(root)

#10 sdnative

sdnative

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 35 posts

Posted 08 January 2011 - 02:29 PM

JGM thank you for your work... I am already rooted and using the Macho Rom  as per the instructions put out by Pandabomb. I am wondering if it is safe to flash my Cruz R101 V2.0 with this ROM? Do I need to go back to the stock Rom first or can I just flash over the Mach Rom?

#11 phandroidtablets.com

phandroidtablets.com

    Newbie

  • Jr. Member
  • Pip
  • 8 posts
  • LocationBoston, Ma.

Posted 08 January 2011 - 02:41 PM

Actually after executing su if you write id and press enter you should see uid=0(root) gid=0(root)


Bingo thats what I did. I have had her at 750 and min. at 333. I have since flashed again though. I'm just playing with some things with the reader. No rom stays for more then an hour on my test reader.

I'd like to mess around and add some with this rom though if thats cool Jgm?

#12 jgm

jgm

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 243 posts

Posted 08 January 2011 - 02:42 PM

sure, this is a toy to play with  ;)

JGM thank you for your work... I am already rooted and using the Macho Rom  as per the instructions put out by Pandabomb. I am wondering if it is safe to flash my Cruz R101 V2.0 with this ROM? Do I need to go back to the stock Rom first or can I just flash over the Mach Rom?


Well It should be fine to flash over it without problem, but strange things seem to happen on this forums  ;)

#13 gjbnh

gjbnh

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 210 posts

Posted 08 January 2011 - 02:48 PM

AppSD errors out on my with "too many files open AND path does not exist  :).

#14 mayday247

mayday247

    Member

  • Jr. Member
  • PipPip
  • 22 posts

Posted 08 January 2011 - 02:58 PM

Thanks for this JGM!!

Has anyone used this with the R103 v3?  I've been using the Panda ROM since I got my Cruz Reader, but can't get it to root and this one sounds so much better.

#15 jgm

jgm

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 243 posts

Posted 08 January 2011 - 03:41 PM

AppSD errors out on my with "too many files open AND path does not exist  :).


Maybe since you manually tried the script first, and got some errors from a bug that ocurred while trying to partition the internal sd card (later fixed and included on this rom), you will need to check if /system/tempsd exists and delete it, also delete the /system/etc/install-recovery.sh then power off the unit. Then manually partition the internal sd card to fat32 and leave only 1 partition (maybe androids bundle format tool works well, haven't tested). Then follow the instructions of this post to install the rom and run the script.

You may also need to partition the external sd card, all depends on how you are doing it.

#16 icedog97

icedog97

    Newbie

  • Jr. Member
  • Pip
  • 5 posts

Posted 08 January 2011 - 04:00 PM

Actually I didnt included the modified u-boot.bin since for many people it wasn't working right like me (maybe because I have first version of reader and some hardware has changed, sometimes boot others not)

If the unlocking of cpu works right on your reader you can replace the u-boot.bin on this package by the one provided by pandabomb, as the title says the rom is already rooted  so setcpu works right.

I discovered an application to overclock the cpu without the need of different kernel or bootloader called Milestone Overclock but it doesnt supports the cruz cpu, on the project webpage says it supports omap3 cpus, what could be the difference with smdk6410? I would be interesting to see more cpus support :)



Ralir,

You followed 2. right?

2. Write su an press enter, after that superuser app will ask if  you want the terminal to access root priviliges, so press allow or always allow.

I accidently didn't the first time then went and started from scratch and it's working good.

Also JGM's list of Apps is great. I use a lot of those on my Gtablet.

So nice to see these new roms hitting. Good luck to all and have fun!


Hi,
Yes.  I did correctly first time around.  I tried again.  Same Result.
RaliR


That's strange, did you used the improved terminal emulator provided on the rom? Not the terminal emulator that can be accessed from Dev Tools.


First off...THANKS!...for doing this work.

Everything was smooth up until the app2sd.sh...I get the same permission denied problem mentioned above.

I also used to get the problem where I could see app2sd.sh (when I copied it myself) but it would say file not found when I tried to run the script.

Some combination of settings has to be causing this...

My su persmissions show /system/bin/sh

#17 jgm

jgm

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 243 posts

Posted 08 January 2011 - 04:18 PM

as a second option then try this after su command:

sh /system/bin/app2sd.sh

#18 icedog97

icedog97

    Newbie

  • Jr. Member
  • Pip
  • 5 posts

Posted 08 January 2011 - 04:27 PM

as a second option then try this after su command:

sh /system/bin/app2sd.sh


Tried it...same result...

#19 mayday247

mayday247

    Member

  • Jr. Member
  • PipPip
  • 22 posts

Posted 08 January 2011 - 04:46 PM


as a second option then try this after su command:

sh /system/bin/app2sd.sh


Tried it...same result...


I'm getting the same "Permission Denied" error as icedog97, even though mine is rooted now.  The [u]sh /system/bin/app2sd.sh[u] command does bring up the options in the emulator, but when I select "1" to prepare the SD card for application storage it gives the "permission denied" error. Just putting in the [u]app2sd.sh[u] command would go straight to permission denied.  Also, I had to uninstall and reinstall the terminal emulator since the one loaded with the new ROM kept giving me a "force close" error...doubt that makes a difference, but in case anyone else with a R103 v3 is having the same issue.

#20 CSMhXc

CSMhXc

    Newbie

  • Jr. Member
  • Pip
  • 1 posts

Posted 08 January 2011 - 04:54 PM

I'm having trouble with the app2sd part.  I've followed the instructions and have had no luck.  I keep getting this error.


Attached is the app2sd.sh that I used - had to reformat the file twice to get it to run


Ok now I get a little further but get this error.

Input the size in megabytes of the primary partition, the left space will be u
d for the applications partition: 2700
2700

Partitioning the sd card...

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
        switch off the mode (command 'c') and change display units to
        sectors (command 'u').

Command (m for help): Selected partition 1

Command (m for help): Command action
  e  extended
  p  primary partition (1-4)
Partition number (1-4): First cylinder (2-484032, default 2): Value out of ran
.
First cylinder (2-484032, default 2): Last cylinder, +cylinders or +size{K,M,G
(345600-484032, default 484032): Last cylinder, +cylinders or +size{K,M,G} (34
00-484032, default 484032): Last cylinder, +cylinders or +size{K,M,G} (345600-
4032, default 484032): Value out of range.
Last cylinder, +cylinders or +size{K,M,G} (345600-484032, default 484032): Usi
default value 484032

Command (m for help): Selected partition 1
Hex code (type L to list codes): Changed system type of partition 1 to 1 (FAT1


Command (m for help): There is no *BSD partition on /dev/block/mmcblk1.

Command (m for help): Selected partition 1
Hex code (type L to list codes): Changed system type of partition 1 to 2 (XENI
root)

Command (m for help): 8: unknown command
Command action
  a  toggle a bootable flag
  b  edit bsd disklabel
  c  toggle the dos compatibility flag
  d  delete a partition
  l  list known partition types
  m  print this menu
  n  add a new partition
  o  create a new empty DOS partition table
  p  print the partition table
  q  quit without saving changes
  s  create a new empty Sun disklabel
  t  change a partition's system id
  u  change display/entry units
  v  verify the partition table
  w  write table to disk and exit
  x  extra functionality (experts only)

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
Formatting partition 2...
mke2fs 1.40.8 (13-Mar-2008)
Could not stat /dev/block/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
Coying all files from data directory to new sd mount point...
mount: No such file or directory


I've searched threads trying to get it to work, but I'm not having any luck.  Don't really know what else to try.